Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

question about PHPSESSID

0 views
Skip to first unread message

Leszek

unread,
Jun 12, 2006, 6:20:37 PM6/12/06
to
Hi.
How should I configure Apache2.2 with php5 so that PHPSESSID would be sent
as a cookie ? Now I'm not getting any messages even if I set IE to ask
about incoming cookies...

So what is the default way of sending PHPSESSID if not as a cookie?

What is the best way to send PHPSESSID?

thanks,

Leszek


Scott

unread,
Jun 12, 2006, 6:52:25 PM6/12/06
to
Session ID's can be sent as a cookie or in the url. Cookies are the
default as well as generally preferred method.

There are some settings in your php.ini file which control this
behavior: session.use_cookies, and session.use_only_cookies. They are
explained here:

http://www.php.net/manual/en/ref.session.php

Hope this helps!

Scott

0 new messages