WebSite X5Help Center

 
Maia G.
Maia G.
User

Deactivation of "phpssid" session cookie  de

Автор: Maia G.
Просмотрено 3199, Подписчики 2, Размещенный 0  
Тэги: 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.

Размещено
4 Ответы
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

Читать больше
Размещено От Samuel V.
Maia G.
Maia G.
User
Автор

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?

Читать больше
Размещено От 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.

Читать больше
Размещено От Claudio D.