Click to See Complete Forum and Search --> : Phpsessid?


NeoNmaN
03-20-2007, 02:18 AM
Hallo all, i hob i can be helpt here.


if i use links whitout http://domain.dk the "webserver" adding this string to the link eks.

/file.php?PHPSESSID=6416b39bd78c3457157f1bd6bb32e812

bot if i use this link its no problem

http://domain.dk/file.php

whot rong here? and can i desiable somting in .htaccess file so i dont get the PHPSESSID so its not comming eny more.

NeoNmaN
03-20-2007, 02:51 AM
problem fisnish :)

php_value session.use_only_cookies 1
php_value session.use_trans_sid 0

put it in the .htaccess file.

felgall
03-20-2007, 03:14 AM
Of course that blocks people with cookies disabled from accessing your site since as well as enabling cookies as the preferred choice you also turned off the alternative for when cookies are disabled. You need both of those values to be 1 to maximize the accessibility.