PHP app with cookie less session does not work
Posted
by iama
on Stack Overflow
See other posts from Stack Overflow
or by iama
Published on 2010-04-15T02:07:48Z
Indexed on
2010/04/15
2:13 UTC
Read the original article
Hit count: 369
I am trying to use PHP session without using cookies. I have enabled session.use_trans_sid and disabled session.use_cookies in my php.ini file. I have also disabled cookies in my firefox browser. Now, when I browse my home page, I do not see the HTTP set cookie header in the server response to my page request (using Live HTTP headers). My understanding is that PHP will append session IDs to my request URL when cookies are disabled. Am I doing something wrong? BTW, I am aware using session IDs is not a recommended approach.
© Stack Overflow or respective owner