Click here to Skip to main content
15,997,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I want to refresh my page but when i use

Response.Redirect("Signup.aspx");

The browser ask me a thing like that "Do you want to resend your information?"

If i click resend then this no doubt redirects, but also fires the events that were fired previously before page refresh.
So the main problem is that i want to redirect or refresh my page without resending the information. I've searched on internet and tried dozens of options like javascript, SmartNavigation and stuff like that but the problem still persists. Anyone know how to solve it?

I want to redirect my browser to the same page, but i want that page to be opened just like its loaded for the first time


Regards
Posted

Try Server.transfer. this will load the page from server side afresh.

If you really need to use response.redirect then you could so a real DIRTY DIRTY way of redirecting to a temporary page and then in the page load of that temporary page redirect back to the original one. (i say don't do it. this will cause too much back and forth between server and client)
 
Share this answer
 
 
Share this answer
 
v2

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