Re: [PHP] ?=SID? is not translated...

2001-05-21 Thread Markus Fischer

Hallo Chris,

On Mon, May 21, 2001 at 04:08:52AM +0200, Christian Marschalek wrote : 
 My system does not tranlate ?=SID? into the PHP Session id... Don't
 have a clue why, though...

SID gets only defined if the appropriate cookie is NOT set (which
makes sense: you don't need to populate it anywhere in your code
if the right cookie is set).

If you just want the session ID use 'session_id()'.

- Markus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] ?=SID? is not translated...

2001-05-21 Thread Johnson, Kirk

Is the session.use_trans_sid flag set to 1 in php.ini?

Kirk

 -Original Message-
 From: Christian Marschalek [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 21, 2001 1:16 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: [PHP] ?=SID? is not translated...
 
 
 I know that, and this option is not enabled and ?=SID? does not work
 although the cookies are turned off...
 
  -Original Message-
  From: Rama [mailto:[EMAIL PROTECTED]] 
  Sent: Monday, May 21, 2001 8:19 AM
  To: Christian Marschalek
  Subject: RE: [PHP] ?=SID? is not translated...
  
  
  http://www.php.net/manual/en/ref.session.php
  
  PHP is capable of doing this transparently when compiled
  with --enable-trans-sid. If you enable this option, relative 
  URIs will be changed to contain the session id automatically. 
  Alternatively, you can use the constant SID which is defined, 
  if the client did not send the appropriate cookie. SID is 
  either of the form session_name=session_id or is an empty string.
  
  
  Rama
  
  -Original Message-
  From: Christian Marschalek [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, May 20, 2001 8:09 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] ?=SID? is not translated...
  
  
  My system does not tranlate ?=SID? into the PHP Session 
  id... Don't have a clue why, though...
  
  Any clues?
  
  Tia! Chris
  
  
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: 
 [EMAIL PROTECTED]
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] ?=SID? is not translated...

2001-05-20 Thread Christian Marschalek

My system does not tranlate ?=SID? into the PHP Session id... Don't
have a clue why, though...

Any clues?

Tia! Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]