i want expire session after every 2 minutes.....
How to set time for particular session in asp.net?
how to set time for particular session in asp.net?
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Dec 19, 2013, 11:29 PM EST
If your are using Forms authentication,
Hardik PatelRank #4,439 · 343 reputationPosted Dec 19, 2013, 11:38 PM EST
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Dec 20, 2013, 12:18 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Dec 20, 2013, 12:35 AM EST
So please read this post.
viprat shah4 reputationPosted Dec 20, 2013, 12:49 AM EST
you can use session.Timeout=20
Thanks.
Vithal WadjeRank #19 · 47.2K reputationPosted Dec 20, 2013, 7:08 PM EST