Page 1 of 1
refresh
Posted: Thu Apr 01, 2004 10:40 am
by magicrobotmonkey
How do I get rid of this:
"The page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you were trying to view."
if someone hits back or refresh. I notice it doesn't happen here. I use sessions and don't pass anything in the URL.
Posted: Thu Apr 01, 2004 11:43 am
by Deemo
that happens with post variables. if you can, get rid of those, otherwise, im clueless
Posted: Thu Apr 01, 2004 11:50 am
by magicrobotmonkey
Hrmmm... ok I guess its unavoidable then. I guess there's no way to disable the back button, either, huh. I have my own navigation built in which works flawlessly, but I'm afraid users will use the browsers back rather than mine.
but wait - how does this site do it??
Posted: Thu Apr 01, 2004 12:01 pm
by PrObLeM
maybe have it open in a popup window that doent have the navaigation bar...thats what i would do
Posted: Thu Apr 01, 2004 2:30 pm
by Bill H
Try this at the top of the page:
Code: Select all
<?php
session_cache_limiter("private,must-revalidate");
?>
Posted: Thu Apr 01, 2004 2:37 pm
by Steveo31
Code: Select all
<?php
header("Cache-control:private");
?>
Posted: Thu Apr 01, 2004 5:11 pm
by magicrobotmonkey
Ahhh sweet!
header("Cache-control:private");
works like a charm!
Posted: Thu Apr 01, 2004 5:16 pm
by EvilWalrus
magicrobotmonkey:
Greetings from Reading, PA (about an hour from you)

Posted: Thu Apr 01, 2004 5:25 pm
by magicrobotmonkey
yea i used to go to wild wings at the airport there for ayce wings. and i hear my uncle has a house there. want to go to baltimore and see the redsox on sunday??
Posted: Thu Apr 01, 2004 5:45 pm
by EvilWalrus
WildWings has since gone under... Something about the dude that owned it taking a loan from a loanshark, and never paying it back... so, now it's a little dinky shop with no publicity.
Hopefully, sometime in the near future, i can move out of this state... i could never like in Hershey though.. the chocolate smell would give me migraines 24/7

Posted: Thu Apr 01, 2004 6:23 pm
by magicrobotmonkey
well im actually in harrisburg - i just put hershey because im working at hershey med currently and thats where i spend most of the time on these forums. And don't worry, its only chocolate half the time - the other half its manure!