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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


924 Views

Avatar
_Vince

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?