|
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]
|