I have to expire a session after 30 minutes when user doesnt do any work for 30 minutes But when user does any work then session should not expire.
How can I do this?
Home / DeveloperSection / Forums / How to expire session after 10 minutes?
I have to expire a session after 30 minutes when user doesnt do any work for 30 minutes But when user does any work then session should not expire.
How can I do this?
Anonymous User
08-Oct-2014Set your Session.Timeout to be 30
Session.Timeout = 30;
You can do this on the session start event in the global.asax file, or in your web.config file