WebSite X5Help Center

 
Maia G.
Maia G.
User

Deactivation of "phpssid" session cookie  de

Autor: Maia G.
Besucht 2824, Followers 2, Geteilt 0  
Tags:: 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.

Gepostet am
4 ANTWORTEN
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

Mehr lesen
Gepostet am von Samuel V.
Maia G.
Maia G.
User
Autor

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?

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von Claudio D.