I want to use php sessions without cookies?

This is a development issue and is explained in the php manual:

http://www.php.net/session

There is great security risk in doing that but if you are being forced to do that for some reasons, you can do that by placing a php.ini file in the folder where you want to do that, and disable cookies for sessions and enable transparent sid support in php.ini i.e.

session.use_cookies = 0

session.use_trans_sid = 1

Note: The above instructions for php.ini file are for our shared account where phpsuexec is enabled and you can get php.ini file from your control panel.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I do basic http authentication through php?

Yes, HTTP authentication works fine through PHP.

Can I run PHP scripts anywhere on my site?

Yes, PHP scripts do not have to reside in a particular directory and will run anywhere on your...

How do I change File Permissions?

If you're new to scripting, or getting the dreaded "Internal Server Error" when you try to run a...

How do I edit the text of my web page?

If you have a web page created by someone else, you can edit the text easily. Here's how:1....

How do I make changes to php settings?

Please login to your control panel and click on "security notes" in front of PHP4 Version in the...

Powered by WHMCompleteSolution