You are here: Re: why use session id in URL? « PHP Programming Language « IT news, forums, messages
Re: why use session id in URL?

Posted by Curtis on 11/27/06 10:23

That's a good point.

Although PHP will attempt to use session cookies by default, it will
rewrite links and form submissions if cookies are unable to be set. You
should note that it uses & in the querystring, which will break an
XHTML document served as application/xhtml+xml. You can change that in
php.ini. Under data handling, the arg_separator.output field can be
changed to &, if so desired.

Curtis

On Nov 26, 10:04 pm, "J.O. Aho" <u...@example.net> wrote:
> crescent...@yahoo.com wrote:
> > I am creating a login system. I am using sessions. It's working fine. I
> > have seen some login systems where they pass session id as part of URL.
> > I am not doing it in my login system but it's working fine. I just
> > wanted to know why is it necessary to pass session id by URL? I have
> > chosen not to do it. Am I missing something?As not everyone uses cookies, as they are so commonly used to track what sites
> a person visits, so cookie based sessions won't work for everyone.
>
> //Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация