Dear Sir/Mam
I have one login page and After log in successfully. I reachend a welcome page. On that page i want distroy that session variable after some amount of time.
Between that amount of time if he click anywhere of the form the session distroy just like a bank site or railway reservation on doing transaction. Otherwise user can move to further page. How can i do this? Please reply me asap.
Thanks a lot
Sanjay Kumar Gupta
Loading
JosePosted Aug 6, 2010, 9:56 AM
Try this
<%@ OutputCache Duration="5" VaryByParam="userid;companyid" %>
you can also do this
Take the login time calculate the amount of duration on the page
//- Clear the Session
Session(name)=""
//- Make sure is completly killed
Session.Abandon
Hope that helps
Good Luck!
Jose