ID:               17144
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Session related
 Operating System: FreeBSD 4.5
 PHP Version:      4.2.0
 New Comment:

also trying to echo session_id(); with no success. 

Still not working in 4.2.1 released May 13th

Also i can't Edit my submission


Previous Comments:
------------------------------------------------------------------------

[2002-05-10 14:57:44] [EMAIL PROTECTED]

Config line:
./configure '--prefix=/usr/opt/php'
'--with-apxs=/usr/opt/apache/sbin/apxs' '--with-mysql=/usr/opt/mysql'
'--with-pgsql=/usr/opt/pgsql' '--with-mm' '--with-ldap'
'--enable-trans-sid' '--enable-magic-quotes' '--enable-shared'
'--enable-mhash' '--enable-ftp' '--with-gettext' '--enable-mailparse'
'--enable-libgcc' '--enable-calendar' '--with-openssl'

Other details:
Register Globals = OFF
Enable Trans SID = ON
Set Session Cookies = 1
Session Auto Start = 1

I have a login form that asks for a used name and password. Once the
user has been authenticated they are assigned a set of $_SESSION
Variables:

----code----
$_SESSION['login'] = $_POST['login'];
$_SESSION['password'] = $_POST['password'];
$_SESSION['logged'] = $_POST['logged'];
$_SESSION['action'] = $action;
$_SESSION['rank_id'] = $rank_id;
----end code ----

When the users click on a link in the menu system all these variables
are lost (ie echos come up blank).

If i add the session_start(); at the top of the page then the variables
are passed without a problem.

If at any time i try to echo out the Session ID (which for me is
SFDICsession) i get a blank value using the following code:

----code----
<?=$_REQUEST['SFIDCsession']?>
----end code -----

thoughts?

Thanks in advance!


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17144&edit=1

Reply via email to