Date: 03/15/00
- Next message: Sam Liddicott: "Re: [PHPLIB] session id in URL even though cookies are enabled"
- Previous message: eDeveloper: "[PHPLIB] session id in URL even though cookies are enabled"
- In reply to: eDeveloper: "[PHPLIB] session id in URL even though cookies are enabled"
- Next in thread: Sam Liddicott: "Re: [PHPLIB] session id in URL even though cookies are enabled"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hello eDeveloper
> Why do I get a session id appended to my URL when cookies are enabled and I
> follow a link to xx.php with PHPlib sessions enabled? The default settings
> are used with session id in URL as fallback. If I delete the session id from
> the url, and reload the page again, the session id does not show up again -
> so it seems that it now can see that cookies are enabled, but not when
> initially entering the page. Why?
as far as i know to see if cookies are enabled a cookie has to be set. therefore
the page of your application that will invoke a new session appends the session
string to the url because at this point the application can't know if cookies
are accepted or not, the application tries to set the cookie and if cookies are
accepted the next page won't append the session string to the url.
regards,
andreas
-- Andreas OttoNoHo Digital Ltd, Floor 2, Canberra House, 315 -317 Regent Street London W1R 7YB
Reception 0171 299 3434 Fax 0171 631 5050 http://www.noho.co.uk
- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Sam Liddicott: "Re: [PHPLIB] session id in URL even though cookies are enabled"
- Previous message: eDeveloper: "[PHPLIB] session id in URL even though cookies are enabled"
- In reply to: eDeveloper: "[PHPLIB] session id in URL even though cookies are enabled"
- Next in thread: Sam Liddicott: "Re: [PHPLIB] session id in URL even though cookies are enabled"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

