Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Sep 29, 1999

Bypass the 'RePost' Message

Question:
When I create an ASP page that gets sent to the browser, if users press the refresh button they get a message asking to repost from old data. How can I have the refresh recreate the page with the same information that was used to create it the first time? In other words, how can I bypass this message?

Answer:
Change your form's action method from POST to GET. Then the browser will not ask the question. A 'Post'ed form will always ask the question when you hit the refresh button.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date