Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 03, 2012 06:03 AM by Frank Jiang - MSFT
Member
4 Points
16 Posts
Apr 27, 2012 11:43 AM|LINK
Some body like to help me.
How to Get Current user session idle time ?
All-Star
95493 Points
14106 Posts
Apr 27, 2012 12:40 PM|LINK
in HttpSessionState you have a property called Timeout...http://msdn.microsoft.com/en-us/library/ah635ck5.aspx
Thanks,
16006 Points
1728 Posts
Microsoft
May 03, 2012 06:03 AM|LINK
string time = Session.Timeout.ToString();
Or
var sessionSection = (SessionStateSection)WebConfigurationManager.GetSection("system.web/sessionState");
string time=sessionSection.Timeout.ToString();
Vishal Bharg...
Member
4 Points
16 Posts
How to Get Current Session TimeOut Time ?
Apr 27, 2012 11:43 AM|LINK
Some body like to help me.
How to Get Current user session idle time ?
ramiramilu
All-Star
95493 Points
14106 Posts
Re: How to Get Current Session TimeOut Time ?
Apr 27, 2012 12:40 PM|LINK
in HttpSessionState you have a property called Timeout...http://msdn.microsoft.com/en-us/library/ah635ck5.aspx
Thanks,
JumpStart
Frank Jiang ...
All-Star
16006 Points
1728 Posts
Microsoft
Re: How to Get Current Session TimeOut Time ?
May 03, 2012 06:03 AM|LINK
string time = Session.Timeout.ToString();
Or
var sessionSection = (SessionStateSection)WebConfigurationManager.GetSection("system.web/sessionState");
string time=sessionSection.Timeout.ToString();
Feedback to us
Develop and promote your apps in Windows Store