user specific session timeout in asp.net instead of application specific timeout ?
Thanks in advance.
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
Imtiyaz AnsariRank #1,031 · 1.9K reputationPosted Feb 25, 2016, 3:28 AM EST
Raja TRank #685 · 3.5K reputationPosted Feb 24, 2016, 6:30 PM EST
Web.config : Open up your web.config file and under the system.web section add the following :
Replace 20 with whatever number you wish.
Amit Kumar SinghRank #562 · 4.3K reputationPosted Feb 24, 2016, 6:33 PM EST
Jithil JohnRank #2,791 · 506 reputationPosted Feb 24, 2016, 7:03 PM EST
Chandu KumawatRank #1,449 · 1.1K reputationPosted Feb 24, 2016, 7:13 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Feb 24, 2016, 7:18 PM EST
Imtiyaz AnsariRank #1,031 · 1.9K reputationPosted Feb 24, 2016, 7:19 PM EST
{
System.Web.HttpContext.Current.Session.Timeout = 1;Response.Write("Logged on as " + User.Identity.Name + "
Response.Write("Timeout is now " + HttpContext.Current.Session.Timeout + "");
");
}
//can you follow this link :-Jithil JohnRank #2,791 · 506 reputationPosted Feb 24, 2016, 7:46 PM EST
Imtiyaz AnsariRank #1,031 · 1.9K reputationPosted Feb 24, 2016, 8:21 PM EST
Jithil JohnRank #2,791 · 506 reputationPosted Feb 24, 2016, 8:27 PM EST
Imtiyaz AnsariRank #1,031 · 1.9K reputationPosted Feb 24, 2016, 8:52 PM EST
Jithil JohnRank #2,791 · 506 reputationPosted Feb 24, 2016, 9:14 PM EST
Jithil JohnRank #2,791 · 506 reputationPosted Feb 24, 2016, 9:17 PM EST
Imtiyaz AnsariRank #1,031 · 1.9K reputationPosted Feb 24, 2016, 9:41 PM EST
Jithil JohnRank #2,791 · 506 reputationPosted Feb 24, 2016, 10:11 PM EST
Imtiyaz AnsariRank #1,031 · 1.9K reputationPosted Feb 25, 2016, 3:28 AM EST