#8527 [Com]: Session does not work outside the folder it was created in
| From: | gilad dot buzi at bcn dot concatel dot com | Date: | Fri, 03 Oct 2003 07:47:53 +0000 |
| Subject: | #8527 [Com]: Session does not work outside the folder it was created in | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48482@lists.php.net to get a copy of this message | ||
ID: 8527
Comment by: gilad dot buzi at bcn dot concatel dot com
Reported By: neville_lewis at yahoo dot com
Status: Closed
Bug Type: *Session related
Operating System: Windows 95
PHP Version: 4.0.0
New Comment:
This is not a bug. You need to set your session.cookie_path (in
php.ini) to / :
session.cookie_path = /
Previous Comments:
------------------------------------------------------------------------
[2001-03-16 17:26:00] sas@php.net
Please upgrade. The default is path=/.
------------------------------------------------------------------------
[2001-01-03 00:04:03] neville_lewis at yahoo dot com
I have started a session in a file in one folder however when that page
calls another file in another folder then the session variable does not
carry.... I am using the session_start() statement in every page in the
other folder .....
It works fine with all the files in the same folder that the session
was started in, but when it comes to the files in any other folder it
does not work......
I am using php4 with Apache on win95 downloaded from php4win.de
If anyone knows about this problem or knows where I can get an answer
to it please contact me at neville_lewis@yahoo.com
I want to write one login script for my site and keep it in one folder
and call that in all the pages in various folders.....
Thanks
Neville Lewis.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8527&edit=1