#24668 [Com]: Session ID not being passed on
ID: 24668
Comment by: mailling at gmx dot co dot uk
Reported By: njt1982 at yahoo dot com
Status: Bogus
Bug Type: Session related
Operating System: Windows 2003
PHP Version: 4.3.2
New Comment:
I am not sure it is a support question.
I have the similar bug with Windows 2000 and the same version of
apache. I use an application (Horde), that is working fine with 4.2,
but doesn't work with the last 4.3.3.RC3
Maybe he is just confused with the version?
Previous Comments:
------------------------------------------------------------------------
[2003-07-15 22:01:21] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
This is wrong place to ask support questions.
------------------------------------------------------------------------
[2003-07-15 21:03:56] njt1982 at yahoo dot com
Description:
------------
I am unable to get Sessions to pass data onto another PHP script. I am
using PHP 4.3.2 and Apache 2.0.46
here is my code:
login.php
<?php
session_name("nick");
session_start();
$SessID = Session_ID();
echo "<HTML>
$SessID
<BR><BR>
Click <a href='./checkLogin.php'>here</a> to check the session
</HTML>";
?>
checkLogin.php
<?php
session_name("nick");
session_start();
echo Session_ID();
?>
What SHOULD happen is that checkLogin.php picks up that a session has
been made and then resumes it. But it doesn't. It simply makes a new
SessionID.
I have spent days reading around the forums
[Session]
session.save_handler = files
session.save_path = "I:/Webpage/tmp"
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 0
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = public
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=,fieldset="
PLEASE help me! I cannot understand what I'm doing wrong. The manual
just confuses me even more.. :-S
Thanks for any help that can be provided.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24668&edit=1
Thread (3 messages)