[PHP] Expire page...

2001-09-10 Thread Dhaval Desai

Hi!


Well I would like to expire a page after you move away
from that page and the user should not be able to hit
the browser's back button and see the contents. I t
should show that the page has expired..

In ASp it is very easy to do that but in Php I am
looking all over and still can't find it.


Can anybody help me please...


Thank You


Regards,
Dhaval

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Expire page...

2001-09-10 Thread Sheridan Saint-Michel

It's in the manual here:
http://www.php.net/manual/en/function.header.php

It gives this solution

header (Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header (Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT); // always
modified
header (Cache-Control: no-cache, must-revalidate);  // HTTP/1.1
header (Pragma: no-cache);  // HTTP/1.0

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com

- Original Message -
From: Dhaval Desai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 12:31 PM
Subject: [PHP] Expire page...


 Hi!


 Well I would like to expire a page after you move away
 from that page and the user should not be able to hit
 the browser's back button and see the contents. I t
 should show that the page has expired..

 In ASp it is very easy to do that but in Php I am
 looking all over and still can't find it.


 Can anybody help me please...


 Thank You


 Regards,
 Dhaval



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]