Jump to:

22997 Posts in 11853 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » How do I timeout a session?

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

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

Page: 1
Go to End
Author Topic: 436 Views
  • _Vince
    Avatar
    Community Member
    157 Posts

    How do I timeout a session? Link to this post

    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?

    436 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.