if php was compiled with --enable-trans-sid then you dont need to add the SID to the URL run phpinfo() to confirm trans-sid is actually enabled in the php.ini (1 is on)
(look for session.use_trans_sid) Regards Simon Wheeler firepages "Limbourg Arnaud" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hello, > > it is because the session id propagates through the use of cookies. > Otherwise you have to do it by hand, either in the url or in a hidden field. > > A way is to use the php constant SID and add it at the end of every url like > > echo 'a href=file.php?' . SID > > then the id propagates ;) > > > Hi all, > > this is my first posting to this list. I host a medium-sized > > site for people working with a certain make of > > microcontrollers called AVR. > > The site is called www.AVRfreaks.net > > > > I have a question regarding sessions: > > We just compiled a new apache installation with PHP into it. > > I wanted to use transparent session handling so I used the > > --trans-sid and --track-vars flags. I also run with > > register_globals on. > > > > The problem is that this setup allows to propagate the > > session_id even when I disable cookies on my computer; but I > > cant seem to write something into the session files. When I > > run with cookies allowed; this is fine. Then I can write all > > the User's info into the session file. > > So users not running with cookies, cannot log in... > > I think it's a bit strange that it's just this writing that's > > not possible. So I am left a little clueless here... > > > > Does anybody have an idea what this may be due to? And how > > to solve it? > > Please reply with any idea besides sticking my head in the > > sand, shutting the server down etc... ;-) > > > > Best regards, > > > > Eivind > > > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php