hi folks,
I User is not active the need to display session message with count.i tried on that it work fine for me.but problem is that when click on ok the session is need to reset and .start if the user is not active then start the session count.
please share some link and give solution
thank you in advance
How to display session message with count in asp.net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Pradeep ShetRank #595 · 4K reputationPosted Feb 2, 2015, 8:57 PM EST
Set the session to null
Ex - Session["login"] = null;
Is it what you were asking?
Ramchand RepalleRank #762 · 3K reputationPosted Feb 2, 2015, 9:04 PM EST
I hope this below link would be helpful to achieve that your requirement.
http://www.codeproject.com/Articles/227382/Alert-Session-Time-out-in-ASP-Net
Thanks,
Ramchand
Abhijit PatilRank #700 · 3.4K reputationPosted Feb 2, 2015, 9:13 PM EST
THank you pradeep and Ramchand for quick reply,but i done that task now,my task was if the user is not active then it shown create new session and show the message with the remaing count with session value. for eg your session will expire on 60 second..if user is click on continue then it should reset the session. and continue with work .and same process.if session is expire then it redirected to the Login page.