I finally discovered the problem. There was extra whitespace after the
php closing tag ?> that was being interpreted as part of the header.
Removing the whitespace fixed the problem.
Peter
Peter Walter wrote:
Mike,
I hope you mean session_start().
Yes, I did. Getting a bit dyslexic nowadays.
Mike,
I hope you mean session_start().
Yes, I did. Getting a bit dyslexic nowadays.
Well, you would, because PHP would use the value from the PHPSESSID= URL parameter.
... except that on the second call, the url (as displayed by the
browser) does not contain the PHPSESSID parameter, yet I am
Jason,
Thanks for your help. It is a little clearer to me now. However, I have
visited php sites that *claim* to be using session management but where
the links do not have the session id appended, and there are no
variables being passed in the url for links. The url is always in the
form "www
On Thursday 11 December 2003 14:16, Peter Walter wrote:
> From the book "Core PHP programming", 3ed ;
>
> "As stated earlier, PHP sends session identifiers with cookies, but a
> browser may refuse them. PHP can detect when a browser does not accept
> cookies, and in this situation it modifies all
From the book "Core PHP programming", 3ed ;
"As stated earlier, PHP sends session identifiers with cookies, but a
browser may refuse them. PHP can detect when a browser does not accept
cookies, and in this situation it modifies all forms and links to
include the session identifier."
My php pag
5 matches
Mail list logo