WebSite X5Help Center

 
Maia G.
Maia G.
User

Deactivation of "phpssid" session cookie  de

Auteur : Maia G.
Visité 2950, Followers 2, Partagé 0  
Mots-clés :: cookie,phpssid

My website leaves a "phpssid" session cookie on the pc of visitors. I would like to remove this operation.

It seems that the phpssid cookie is generated as soon as the "Contacts" page of my website is entered. This page contains a contact form for messages and optional file upload, including a "captcha" function (i.e. I don't sell anything online - no shopping cart, no database functions etc.).

I would be happy if someone could explain to me how the generation of this cookie can be removed/deactivated.

Posté le
4 RéPONSES
Samuel V.
Samuel V.
User

Hello,

I wonder if you could use a .htaccess file with this content :

php_flag session.use_trans_sid off

Lire plus
Posté le de Samuel V.
Maia G.
Maia G.
User
Auteur

Hello Samuel,

I tried out the .htaccess file – to no effect. I placed in the “admin” folder (I guess, that’s where it should be, does anybody know? At first, I had saved it in the main directory, but then I couldn’t access the website anymore).

I also tried out a robot.txt file containing
 “User-agent: *
Disallow: /*?PHPSESSID=*”

So far without success.

Any other ideas that could help?

Lire plus
Posté le de Maia G.
Incomedia
Claudio D.
Incomedia

Hello Maia,

The .htaccess file has to be located in the main directory and if it is not working try to see if in the hosting account panel you have the option to deactivate it otherwise you need to contact the hosting provider to ask them to deactivate it for you.

Please feel free to write back if you need more information.

Lire plus
Posté le de Claudio D.