RE: [PHP] Using sessions

From: Date: Wed, 14 Mar 2001 09:15:25 +0000
Subject: RE: [PHP] Using sessions
Groups: php.general 
Request: Send a blank email to php-general+get-43800@lists.php.net to get a copy of this message
An idea is to put the session id in your web page addresses. e.g. http://level1/level2/12123234234234234234/test.php Then setup your web server to filter all addresses to remove the session id from the address before it is displayed in the browser window (you can set apache to do this) so the user won't see it. You can then write a little code to get the session id from the address (the full address including session should be passed to your app). And then recreate the session etc.. I've got some code at home demonstrating this technique. I can send it to you later of you want it. -Stewart -----Original Message----- From: Rosen [mailto:rosen_dm@dir.bg] Sent: 14 March 2001 08:52 To: php-general@lists.php.net Subject: Re: [PHP] Using sessions Thanks, but cookies are disabled ! Rosen Marinov ""Yasuo Ohgaki"" <yohgaki@hotmial.com> wrote in message news:98nai7$2gb$1@toye.p.sourceforge.net... > "Rosen" <rosen_dm@dir.bg> wrote in message > news:98n8ut$m26$1@toye.p.sourceforge.net... > > Hi, > > When I use sessions, on the URL row of the browser shows > > "PHPSESSID=XXXXCXXXXXXX". > > Can I hide id ? > > > > Thanks, > > Rosen Marinov > > Use cookie for session. It seems there are some browsers that will not take > cookie on initial request, and fallback to URL mode. See notes session section > in Online PHP Manual for details. > > Regards, > -- > Yasuo Ohgaki > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#43800) next »