Fork me on GitHub

handling sessions  Bottom

  • Hello

    Newbie here so i may test your patience :D

    When a user enters a zikula site a session is created by creating a cookie and adding a record in sessions_info table. Right?
    Can anyone tell me where is the code that does this? I don`t mean the functions themselves but where they are first called

    I hope i`m making sense here :D

    Thanks
  • Don't quote me on this:

    Sessions are checked first in the index.php

    Info is passed by the sessionUtil.

    The sessionUtil is located in the includes/objlib/

    This should be enough to get you started.

    --
    David Pahl
    Zikula Support Team
  • Thanks AmmoDump.

    In index.php there is only a check to see if the session has expired only and nothing else regarding sessions. I think i`m looking for something like sessionUtil::regenerate and i can`t find. So whether i`m looking for the wrong stuff or in the wrong place
  • Never mind. I found a better solution through pnUserLogIn

    Thank again david

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