By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

question about PHPSESSID

P: n/a
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
Jun 12 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

On Tue, 2006-06-13 at 00:20 +0200, Leszek wrote:
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


Jun 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.