NYCPHP Meetup

NYPHP.org

[nycphp-talk] transparent session ID not working

Michael Southwell michael.southwell at nyphp.org
Tue Aug 16 09:48:52 EDT 2005


At 08:23 AM 8/16/2005, you wrote:

>Re - session id not being passed when cookies are turned off.
>
>The following has always worked for me even when cookies are turned off.
>
>header('location: xxx?PHPSESSID='.session_id());

yes, that does it (and as is usually the case, obvious once somebody says 
it); thanks.  But as Chris Shiflett notes, header() format is important: 
the L in location should be capitalized, and there should be a space after 
the colon (it looks as though you do have one).


>Just makes the url's a little messy.
>
>Steve Solomon, ROI Systems, Suffern, NY
>
>
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org

Michael Southwell, Vice President for Education
New York PHP
http://www.nyphp.com/training - In-depth PHP Training Courses 




More information about the talk mailing list