Click here to Skip to main content
14,929,666 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello.
How to refresh a page with all of the session reset?
For example, a logon session and we want to refresh the page to be updated.
reset user info.
Posted
Comments
StianSandberg 28-Jul-12 10:09am
   
Session.Abandon()
Rajesh Varma Buddaraju 28-Jul-12 10:25am
   
Your query is not clear for me! Let me know you want to close the session or forcibly refresh the page for some regular intervals?
Sandeep Mewara 28-Jul-12 16:54pm
   
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

If you want to make a page auto refresh, just set a timer in the page. This will keep the session, by creating a post to the server. If you want to reset the server variables, so they are all blank and the user is logged out, you'd have to send a value to the server telling it to do that, but the session will end by itself, so I don't think that's what you mean
   
Hello Again
The better question would.
Think you're a site member.
You logon.
20 minutes if you do not refresh the page.
Automatic exit from the site.
Why؟
Because your session has ended(timeout).
If the We refresh the page earlier had.
It would not have happened and we were still logon.
How an session refresh ، with refresh page?
Thanks(سپاس)
   
HELLO
One cannot help?
If my question is more obscure, explain
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900