hi,
i asked this before , but how do i end a session when a person changes from
my secure site to another site.
eg.MY page is secure.php(you have to login to get here)
what is the user types in www.php.net at url, then the session will still go
on , by i want it to end !
Thanx ,shaun
--
PHP
I'm having trouble with the Expire date - It's being set at sometime before
I was born. Any idea on how to fix this?
HTTP/1.1 200 OK
Date: Mon, 08 Apr 2002 10:07:31 GMT
Server: Apache/1.3.22 (Unix) PHP/4.1.2
X-Powered-By: PHP/4.1.2
Set-Cookie: sess=6fc0c08e2030124a8518aa5eeff034d3; path=/
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
(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
You can use javascript and set the history length to 0
script language="javascript"
!--
history.length=0;
// --
/script
- Original Message -
From: Sheni R. Meledath [EMAIL PROTECTED]
To: PHP Masters [EMAIL PROTECTED]
Sent: Saturday, March 17, 2001 11:47 PM
Subject: [PHP] E
Sheni,
I needed to do a similar thing as this. When creating the form have a hidden
value which is the current time. The when procesing the form check the time.
If its to old just say page expired.
I found this worked fine. Hope this helps.
Paul
""Sheni R. Meledath"" [EMAIL PROTECTED] wrote
Hi,
I have set up a form to register the users to the site. The users are
allowed to register only once. When the user submits the form the same
script will check the validity of the form and displays error messages and
if okay, updates the database.
I want to set up an option in the form in
7 matches
Mail list logo