marksie1988 Posted March 18, 2008 Share Posted March 18, 2008 i keep on getting the following on links on my site i dont know why it is doing this as i have a site with nearly exactly the same setup and it doesnt do this it adds the below to some links but not all and is very random. ?PHPSESSID=e14aa85eddc97521a84916cc21266131 Quote Link to comment https://forums.phpfreaks.com/topic/96746-solved-phpsessid-keeps-apearing-in-link-randomly/ Share on other sites More sharing options...
redbullmarky Posted March 18, 2008 Share Posted March 18, 2008 if the session id (that used to link you to your session) cannot be stored in a cookie (if they're switched off), then it's appended onto the URL. Often you'll see many pages indexed in search engines with this in the URL. Quote Link to comment https://forums.phpfreaks.com/topic/96746-solved-phpsessid-keeps-apearing-in-link-randomly/#findComment-495195 Share on other sites More sharing options...
marksie1988 Posted March 18, 2008 Author Share Posted March 18, 2008 ahh ok then thanks Quote Link to comment https://forums.phpfreaks.com/topic/96746-solved-phpsessid-keeps-apearing-in-link-randomly/#findComment-495223 Share on other sites More sharing options...
GingerRobot Posted March 18, 2008 Share Posted March 18, 2008 ...but only if PHP is configured to do this. You'll need: session.use_only_cookies turned off session.use_trans_sid turned on Quote Link to comment https://forums.phpfreaks.com/topic/96746-solved-phpsessid-keeps-apearing-in-link-randomly/#findComment-495228 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.