Deactivation of "phpssid" session cookie
Autor: Maia G.
Besucht 3247,
Followers 2,
Geteilt 0
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
Hello,
I wonder if you could use a .htaccess file with this content :
php_flag session.use_trans_sid off
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?
Autor
P.S.: This is the website: http://www.mgtranstext.com
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.