RE: [PHP] Avoiding several windows with the same session

2003-02-07 Thread Dennis Cole Jr
If you are using cookies the new window will pick it up. Have the original
page change a variable to say that it has loaded then when the new window
loads have it check that variable first.

-Original Message-
From: Roman Sanchez [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 1:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Avoiding several windows with the same session


I place

session_start();
if (!session_is_registered('somevar'))
{
header('location: login.php');
exit();
}

at the top of all my pages to prevent people to view pages before they log
in. However, once thay have logged in succesfully, they can ctrl-U in IE to
open a new window. This new window 'inherits' the session id and hence it
does not redirects to the login page. Is there any way to avoid this
situation so that people cannot have several windows with the same session
open?

Thanks!



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] mail() and sendmail path

2003-02-07 Thread Dennis Cole Jr
You can find this here - http://www.php.net/manual/en/ref.mail.php

-Original Message-
From: micah lamb [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 5:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mail() and sendmail path


Is there any way to declare the path to sendmail locally (on the page 
that has the mail() function) ?
I need to use mail() but do not have access to the php.ini file.
Micah


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php