RE: [PHP] PHP not remembering sessions

From: Date: Thu, 23 Oct 2003 20:42:21 +0000
Subject: RE: [PHP] PHP not remembering sessions
Groups: php.general 
Request: Send a blank email to php-general+get-167355@lists.php.net to get a copy of this message
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:Moiz.Golawala@ge.com] Sent: Thursday, October 23, 2003 1:31 PM To: Vail, Warren; Curt Zirzow; php-general@lists.php.net 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:Warren.Vail@schwab.com] Sent: Thursday, October 23, 2003 4:27 PM To: 'Curt Zirzow'; php-general@lists.php.net 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:php-general@zirzow.dyndns.org] Sent: Thursday, October 23, 2003 1:30 PM To: php-general@lists.php.net Subject: Re: [PHP] PHP not remembering sessions * Thus wrote Daniel Guerrier (dan_guerrier@yahoo.com): > 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

« previous php.general (#167355) next »