Jump to content

Archived

This topic is now archived and is closed to further replies.

Horst Azeglio

how to remove ?PHPSESSID=something from the links

Recommended Posts

When my cookies are empty, ?PHPSESSID=something is automatically added to some of the links of my site.
How can I remove ?PHPSESSID=something from the links? I know what a session is, but I don't know why it does that.
Thank you.

Share this post


Link to post
Share on other sites
These line *may* help

ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid', 0);


Or add the 1st value in php.ini


Regards
Liam

Share this post


Link to post
Share on other sites
Try creating anew .htaccess file in the root of your site. and add the following init:
[code]php_flag session.use_only_cookies 1
php_flag session.use_trans_sid 0[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.