after logging out,if i refresh i get previous page

Reply Forum
Forum postsona @ 2008-07-28 12:19:27
ReplyReply to
after logging out,i get the login page.then if i refresh i get a pop up window saying "to display the webpage again,IE needs to resend the information previously submitted" and when i click "RETRY" button previous page is displayed instead i should get login page..

I am new to ASP.NET.Please help


Forum postWebmaster @ 2008-07-31 14:42:17
ReplyReply to
When you get that dialog in IE (and other browsers), it's because the page has received a POST request and if you refresh the page, this POST request will be sent again. I'm not really sure how your setup works, but usually, this can be fixed by redirecting the user, e.g. with Response.Redirect(), to another page, or even the same page. As soon as you have performed a redirect, the POST request will be forgotten :)











© net-tutorials.com 2006 - 2012

MailContact net-tutorials.com