while this doesn't mean that save handler routines are not used, it provides
some clues.

Does the directory pointed to by the session.save_path contain session files
(they will usually have an encrypted filename)?

save handler routines are actually defined in your php files, usually
dynamically, possibly in a common include file; and they override but do not
change the settings in your php.ini file.

http://us4.php.net/manual/en/function.session-set-save-handler.php

The directory pointed to, looks suspicious since it appears that it may be
in the web space area (accessible to http:), if someone can browse that
directory with a browser, all kinds of good things might be found inside
sessions???  if your http.conf file (for apache) points to something other
than htdocs as the web root, you may be ok.

Warren

-----Original Message-----
From: Golawala, Moiz M (IndSys, GE Interlogix)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:31 PM
To: Vail, Warren; Curt Zirzow; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions


This is what is defined in the php.ini file for save handler routines.. I am
newbie, I left it with default values:

session.save_handler = files
session.save_path = c:/Program Files/Apache Group/Apache2/htdocs/Alarms/

thanks
moiz


-----Original Message-----
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 4:27 PM
To: 'Curt Zirzow'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions


are you using "session save handler" routines?

If not make sure you have a "/tmp" directory on your server, in fact you can
check phpinfo() to find out what the session save directory is (provided you
are not using save handler routines).

good luck

Warren Vail

-----Original Message-----
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP not remembering sessions


* Thus wrote Daniel Guerrier ([EMAIL PROTECTED]):
> Use
> $_SESSION['var']
> 
> instead of
> 
> $_SESSION["var"]

This doesn't matter.


Curt
-- 
"My PHP key is worn out"

  PHP List stats since 1997: 
          http://zirzow.dyndns.org/html/mlists/

-- 
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

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

Reply via email to