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

How to disable setting PHPSESSID ?

P: n/a
As I understand my admins installed a PHP server and now my plain HTML
pages also want to set a PHPSESSID cookie when loaded into a browser.
Can I suppress this, e.g. by creating a configuration file like
..htaccess somewhere in my public_html directory? Is it possible to
disable the setting of PHPSESSID cookies for plain HTML pages in
general and maybe for PHP pages that don't need to track any session
information?
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
AmigaLemming wrote:
As I understand my admins installed a PHP server and now my plain HTML
pages also want to set a PHPSESSID cookie when loaded into a browser.
Can I suppress this, e.g. by creating a configuration file like
.htaccess somewhere in my public_html directory? Is it possible to
disable the setting of PHPSESSID cookies for plain HTML pages in
general and maybe for PHP pages that don't need to track any session
information?


Maybe they have "session.auto_start" on in PHP.INI.
You can set it to off in a .htaccess file.

There's also the "session.use_cookies" directive you can disable.

HTH

--
"Yes, I'm positive."
"Are you sure?"
"Help, somebody has stolen one of my electrons!"
Two atoms are talking:
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.