UPDATE?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Post by Coco »

course now i have changed it............... and it dont work

am i the only person who assumed that $_POST is emptied when you refresh?
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

Normally the browser should ask "resubmit posted data?" or some similar thing on reload. If you answer yes, then _POST will not be cleared.
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Post by Coco »

ya but it didnt... and it did take the old values...

print_r() tells all..........
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

which browser are you using? There are so many "bad" behavoirs out there for reload,refresh,forward,back that its next to impossible to predict what should happen.

"Correct" forward/back should never generate any network traffic, ie it should be only the local cached copy, but Netscape messes this one up.

Reload/Refresh should always ask before resending, but many default not to unless you mess if the settings/properties.... But I would think that resending is more correct than not, in the absense of the question....
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Post by Coco »

ie 5

but the point is that if it doesnt work for me then it definately wont work for part of my audience(of which i hope there will be many)

so browser version shouldnt (or rather, cant) matter

sometimes it asks resend info.... if you dont it comes up page expired, if you do.... well whats the point in that?

ctrl f5 makes no difference either
Post Reply