pnConfigGetVar('anonymoussessions') problem  Bottom

  • hi, excuse me if this post is in wrong place, but don't know where to ask my question because i am using PN 0.764 and here many things are related to Zikula(Godzila)!

    my question is about the following statement in include/pnSession.php ate the end of pnSessionDestroy function:

    if (!pnConfigGetVar('anonymoussessions'))

    what does the pnConfigGetVar('anonymoussessions') mean and what happend if i remove this if condition?
    as i saw if a user logout from site cookie of site won't remove from the client and there for the session_id for all users who login from that client will be the same .

  • I believe that simply checks weather or not you have 'Use sessions for unregistered users' enabled in Settings.

    --
    Under Construction!
  • so there is no security risk if i comment this if condition . is that so ?



    edited by: daliri_ha, Oct 06, 2008 - 06:42 AM

This list is based on users active over the last 60 minutes.