This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » Disable session storing for anonymous...

Disable session storing for anonymous access (crawler issues)

Disable session storing for anonymous access (crawler issues)

Tuesday 01 February 2011 2:29:19 pm - 6 replies


I'm running a pretty big site with eZ Publish, and my session table is constantly clogged with anonymous sessions. Thoses sessions are created by the different crawler that access site pages. I have about 150 active session of crawler, and many more inactive but stored until deletion.

Is there a way to delete anonymous session faster, or is there a way to identify search engine crawlers ?

Thanks in advance !

Solution : Upgrade to 4.4 with file based session management. Thanks Guillaume and André !

Modified on Wednesday 02 February 2011 11:40:22 am by Hypolite Petovan

Tuesday 01 February 2011 5:26:44 pm

What is your eZ Publish version ?

In eZP 4.4 you can choose to store session in file system and anonymous doesn't create any session.

Other solution:

Tuesday 01 February 2011 6:30:10 pm

I'm still running the 4.3 version.

I already thought of reducing the SessionTimeout, but I don't want to reduce real user agreement for the sake of one big MySQL table blunk.gif Emoticon

Anyway, thanks for the tips !

Wednesday 02 February 2011 10:42:10 am

4.4 should be a good boost to your setup, by default it will switch to file based session handler, so if you're on some kind of cluster setup you'll need to make it use db session handler preferably before you upgrade (so it uses when the new code starts to run).

Wednesday 02 February 2011 11:16:42 am

Hello André,

thanks for your reply, unfortunately I didn't manage to upgrade cleanly, after the upgrade I had got some pretty big SQL errors about non-existent field (even with SQL upgrade done) so I reverted to 4.3.

I'm not in cluster mode so file based session should be just fine for my setup. I will give another shot at the upgrade but for now I can't afford to pass too many time on it.

Wednesday 02 February 2011 11:23:45 am

In eZP 4.4 you can choose to store session in file system and anonymous doesn't create any session.

The link:

Monday 21 March 2011 1:48:49 pm

I recently upgraded in 4.4 (with some problems though), so there's no longer a problem for me. Thanks for the tips !


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from