Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How do I timeout a session?

Go to End



Community Member, 165 Posts

2 July 2012 at 4:30pm

Hi, I'm using Silverstripe 2.4.7 and I have a lot of forms on the front-end.

Sometimes, when a user has been inactive for a while, their session times out. Because the forms use AJAX to retrieve data from the database, the user clicks on a link and they get the login page instead of the fetched content they were expecting.

I can understand why that happens, but what I would like to know, is how can I time sessions out (in dev) so that I can test for that sort of behaviour?

I tried deleting the cookies but that made no difference. How do I time out a session?