Page 1 of 1

Lycos NL and sessions

Posted: Tue Oct 04, 2005 6:17 am
by jurriemcflurrie
Hey I hope I'm not asking the same question as everybody else, but I still can't get it to work after searching. I tried anything I could find but with no luck.

Everything works fine in one dir, but when linking to another the session vars are not passed. I can send PHPSESSID with it in the url offcourse but I don't like to do it.

I've made a sample to explain the problem more:
http://www.mohawk-studios.com/dir1/
When you click a link you should get a 1 showing up.

Serverinfo can be found here:
http://www.mohawk-studios.com/info.php

Nobody seems to have the same problem, even searching the lycos forums didn't help me at all.

thanks in advance

Posted: Tue Oct 04, 2005 7:01 am
by feyd

Code: Select all

Name	PHPSESSID
Value	hexdata
Host	www.mohawk-studios.com
Path	/dir1/
Secure	No
Expires	Tuesday, October 04, 2005 9:00:30 AM
Your cookie is being set to only work on that domain and that path.




This isn't a theory discussion. Moved to PHP - Code.

Posted: Tue Oct 04, 2005 7:13 am
by jurriemcflurrie
my excuses for the post in wrong section..

where did u get that info from then? :)

I tried to modify the settings with

Code: Select all

<?
  session_set_cookie_params(3600,'/','www.mohawk-studios.com','No');
  session_start();
?>
with no luck :S

Posted: Tue Oct 04, 2005 7:21 am
by jurriemcflurrie
Solved.

Code: Select all

session_set_cookie_params(3600,'/www/');
Sorry for the previous post then... thanks anyways :)