Anze wrote:[color=blue][color=green][color=darkred]
>>> What are the advantages/disadvantages of
>>> having the PHPSESSID in the header
>>> e..g.
http://www.myurl.com/index.php?PHPSESSID=......[/color]
>> And it is a perfectly legal way pass the sessionid around from page
>> to page.[/color]
>
> Be careful though - if you use a redirect on every user that comes to
> you page without PHPSESSID (the way PHPlib does it) you will have
> problems with some search engine crawlers.
>
> Otherwise it is better to just put a session id in cookie. Most of
> the users have cookies enabled (and there is no reason anymore why
> they shouldn't), as for the other few - if they knew how to disable
> cookies they also know how to enable them.
>
> The reason for not using cookies comes from times when you could not
> set your browser to only allow session cookies. Those days are now
> long gone.
>
> Regards,
>
> Anze[/color]
Hmmm, it seems that I got the wrong information.
So I should ditch the PHPSESSID in the URL and add a cookie. I actually
thought you could do it without a cookie.
I would prefer to go without a cookie if possible (I have never used them),
but I will definitely use them if the search engines can not access my pages
properly (the session starts automatically when people visit the site).
Thank you for your responses.
- Nicolaas