[PHP] Re:Re: [PHP] How do I use sessions if cookies are turned off in the browser?
Hi: You also can use follows: a href=script.php?PHPSESSID=session_id();/a -- ¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X... http://www.tyes.tyc.edu.tw [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re:Re: [PHP] How do I use sessions if cookies are turned off in the browser?
From: fongming [EMAIL PROTECTED] You also can use follows: a href=script.php?PHPSESSID=session_id();/a You can, if you want to make the (incorrect) assumption that everyone will have PHPSESSID as the name of their sessions... That's what session_name() is for and the SID constant... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re:Re: [PHP] How do I use sessions if cookies are turned off in the browser?
--- John Holmes [EMAIL PROTECTED] wrote: From: fongming [EMAIL PROTECTED] You also can use follows: a href=script.php?PHPSESSID=session_id();/a You can, if you want to make the (incorrect) assumption that everyone will have PHPSESSID as the name of their sessions... That's what session_name() is for and the SID constant... Yep, and... That syntax is wrong anyway - session_id() only returns the session identifier when used in PHP, not within HTML. :-) Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php