Forums / Install & configuration / timed out / old sessions
Siniša Šehović
Friday 12 May 2006 12:52:26 am
Hi
How to use cronjob to remove timed out / old sessions?
Best regards,S.
--- If at first you don't succeed, look in the trash for the instructions.
Łukasz Serwatka
Sunday 14 May 2006 11:31:14 pm
Hi Sinisa,
There is no cronjob script for this in eZ publish. You can control Session settings in the site.ini file. You can of course write small CLI script, basically you need to includelib/ezutils/classes/ezsession.php then use eZSessionGarbageCollector().
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Norman Leutner
Monday 30 April 2007 1:53:05 am
This should be included within the standard cronjobs.
Mit freundlichen Grüßen Best regards Norman Leutner ____________________________________________________________ eZ Publish Platinum Partner - http://www.all2e.com http://ez.no/partners/worldwide_partners/all2e_gmbh
Markus Bader
Monday 30 April 2007 5:26:03 am
We just published the cronjob extension as a contribution: http://ez.no/community/contribs/cronjobs/session_cleanup
coder pl
Monday 07 May 2007 3:47:41 am
Thanks for that source, ez Publish is really great code product, and those extra adds for it too.
http://www.coderpl.net
Piotrek Karaś
Wednesday 17 September 2008 8:54:51 pm
I wonder... why wouldn't eZ Publish clean the expired sessions by default (or why isn't there a cronjob like Norman's available out of the box)?
Cheers,Piotrek
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu
Ivo Lukac
Thursday 18 September 2008 12:54:25 am
There is an issue with PHP session cleanup on Debian/Ubuntu machines, otherwise cleanup is working fine without extra cronjob script.
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac
Thursday 18 September 2008 1:24:56 am
Oh, I think I've heard of that somewhere, but... do you know where I could find some details? Thanks,Piotrek
Thursday 18 September 2008 2:44:39 am
Try here: http://issues.ez.no/10431