RE: [PHP-DB] page expires
How about this incorporated somewhere: $s = (SERVER_PROTOCOL == "HTTP/1.0") ? "Pragma: no-cache" : "Cache-Control: no-cache, must-revalidate"; header($s); This code must be at the start of the script BEFORE anything is output to the browser - as it sends an additional HTTP header (hence the function header()). Hope that helps Ollie -Original Message- From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 19:37 To: 'Natividad Castro'; Subject: RE: [PHP-DB] page expires http://php.sitecreative.com/faq.php -Original Message- From: Natividad Castro [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 6:12 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] page expires Hi to all, I have form that users fill out and submit. What I'm trying to do is not to let users to go back to the form after they have submmited, or if they go bak, make the page expires. Can someone please tell me or give an idea on how to do it? Thanks in advanced Nato -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] page expires
Add to your header, which will tell the browser not to cache the page, and use the POST method HTH Peter --- Excellence in internet and open source software --- Sunmaia www.sunmaia.net [EMAIL PROTECTED] tel. 0121-242-1473 --- > -Original Message- > From: Natividad Castro [mailto:[EMAIL PROTECTED]] > Sent: 18 April 2002 12:56 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] page expires > > > Hi to all, > > I have form that users fill out and submit. What I'm trying to do > is not to > let users to go back to the form after they have submmited, or if they go > bak, make the page expires. > Can someone please tell me or give an idea on how to do it? > > Thanks in advanced > Nato > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] page expires
http://php.sitecreative.com/faq.php -Original Message- From: Natividad Castro [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 6:12 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] page expires Hi to all, I have form that users fill out and submit. What I'm trying to do is not to let users to go back to the form after they have submmited, or if they go bak, make the page expires. Can someone please tell me or give an idea on how to do it? Thanks in advanced Nato -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php