Page refresh problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shivam0101
Forum Contributor
Posts: 197
Joined: Sat Jun 09, 2007 12:09 am

Page refresh problem

Post by shivam0101 »

I am getting an error,

The page cannot be refreshed without resending the information....

How to solve this?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Depends on what this page does.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Be more specific. And by specific, I mean actually tell us what you are trying to do and what you've done.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Well, bluntly, to solve the error -- resend the information. ;)

You've posted data to the page and trying to refresh it. So it's confirming that you want to resend the information. Sometimes you might not want to.. such as if you were buying something (don't want to be charged twice!) or entering information into a database (don't want duplicate data!).
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
dirkr
Forum Newbie
Posts: 20
Joined: Sat Jul 07, 2007 2:55 pm

Post by dirkr »

hm i've been wondering about this myself.
would there be any way to clear the POST data ?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Maybe I'm missing something here. Why would you WANT to refresh a page that you've already sent data to? If anything, hit the back button and send it again (if that's what you're wanting to do), or have the form show on the page again (with post data already input into it).
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply