Forums / General / Session handling and cron-job

Session handling and cron-job

Author Message

Marco Zinn

Sunday 23 November 2003 12:45:57 pm

I start to fiddle around with the notification system. It works fine and sends mails, when I call "runcronjobs.php". I do this via a http-call, as I don't have a command-line PHP on the server.
I noticed that, after the runcronjobs.php is run, I'm logged out. I don't know, if _everyone_ is logged out (it's a test-system).
Now:
- will the cron-job log users out or do some other kind of session-cleanup?
- in ez2, sessions were kept in the DB and a cron-job cleaned the idle session after a timeout. In ez3, which session data is stored in the DB?
- How is session-cleanup done in ez3, anyway? ;)

Marco
http://www.hyperroad-design.com