RE: [PHP-INST] Sessions

From: Date: Wed, 17 Apr 2002 14:45:41 +0000
Subject: RE: [PHP-INST] Sessions
Groups: php.install 
Request: Send a blank email to php-install+get-6662@lists.php.net to get a copy of this message
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 >

« previous php.install (#6662) next »