RE: [PHP] Sessions, no cookies and enable-trans-sid, oh my

2001-01-11 Thread Chris Hayes
> These are the 3 files I'm using; they all reside in the same dir: > > The PHPSESSID variable is *not* being passed on > the url going between page1 and page 2 and the > session id is always different (obviously). > --enable-trans-sid IS turned on and I have no idea > what's going on... When

RE: [PHP] Sessions, no cookies and enable-trans-sid, oh my

2001-01-11 Thread Boget, Chris
> make sure of course too that session_start() is called from > in your code too. else your not using sessions :) These are the 3 files I'm using; they all reside in the same dir: "index.php" session_start(); header( "location: page1.php?" . SID ); exit(); "page1.php sessio

RE: [PHP] Sessions, no cookies and enable-trans-sid, oh my

2001-01-11 Thread Boget, Chris
> "allow per session cookies(not stored)" will enable cookies, > IE just does some garbage collection when its closed thats all. > so php realizes that IE is accepting cookies in this case and > uses cookies vs trans-sid. Ok. Makes sense. However, when this option is enabled, I see PHPSESSI

Re: [PHP] Sessions, no cookies and enable-trans-sid, oh my

2001-01-11 Thread Chris Lee
"allow per session cookies(not stored)" will enable cookies, IE just does some garbage collection when its closed thats all. so php realizes that IE is accepting cookies in this case and uses cookies vs trans-sid. disable all cookies in IE, and restart. goto the page your testing, you should see t

[PHP] Sessions, no cookies and enable-trans-sid, oh my

2001-01-11 Thread Boget, Chris
I know that if you compile PHP4 with --enable-trans-sid (as we have), it will automagically append SID to all href links. This is supposed to make it so that if a client's browser does not accept cookies, the session ID gets sent to any subsequent pages that the user gets to by clicking on links.