Lycos NL and sessions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
jurriemcflurrie
Forum Commoner
Posts: 61
Joined: Wed Jul 06, 2005 7:14 am
Location: Den Haag, the Netherlands

Lycos NL and sessions

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
jurriemcflurrie
Forum Commoner
Posts: 61
Joined: Wed Jul 06, 2005 7:14 am
Location: Den Haag, the Netherlands

Post 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
User avatar
jurriemcflurrie
Forum Commoner
Posts: 61
Joined: Wed Jul 06, 2005 7:14 am
Location: Den Haag, the Netherlands

Post by jurriemcflurrie »

Solved.

Code: Select all

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