Chris, et al --

...and then Chris Shiflett said...
% 
% --- David T-G <[EMAIL PROTECTED]> wrote:
% > % 
% > % session.use_trans_sid = 1
% > 
% > Yep.
% 
% OK, well PHP should add the session identifier to the URL for every link

OK.


% on the first page. This is because PHP can't tell until the next request

That makes sense.


% whether the browser is accepting cookies. You can think of PHP's logic
% like this:
% 
% 1. If the user requests a page with no session identifier at all, start a
% new session. On the page sent to the user, rewrite all URLs to include the
% session identifier.
[snip]

OK.  That's what I thought.


% 
% So, based on this, I would recommend testing from scratch. Make sure you
% have no cookies. Restart the browser if necessary. Then, visit the first

I restart frequently; it's lynx and it's easy :-)


% page (where you first have your session_start() call) and view source. If

Right.  BTW, the same URL with .phps will let you see the PHP source.


% PHP is doing the session.use_trans_sid stuff correctly, your URLs should
% all be rewritten to include the session identifier. This would be my first
% step in trying to debug the situation.

It does not.  I get

  ...
  Click <a href='http://test.locations.org/sessions/extracting.php'>here</a> to r 
  +eturn.<br>                                                                     
  Click <a href='http://test.locations.org/sessions/extracting.php?extract=3b44c2 
  +04f36f5fb5db176e33e45defbb'>here</a> for a SID.<br>                            
  A button: <form method='post'><input type="hidden" name="extract" value="3b44c2 
  +04f36f5fb5db176e33e45defbb" /><input type='submit'></form><br>

and the first link obviously does not have a SID.


% 
% Hope that helps.

Still hangin'.  Anyone else have any ideas?


% 
% Chris


Thanks again & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to