Re: Session problem
| From: | Jonathan Sharp | Date: | Tue, 15 Oct 2002 16:49:22 +0000 |
| Subject: | Re: Session problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120044@lists.php.net to get a copy of this message | ||
I believe it's a cookie issue, as when I hard code in an active session:
http://linuxserver.pergelcrm.com/count.php?PHPSESSID=7bf48f99e86e2d3d401c57c4f39dabbc
it counts correctly.
Oops! Try this...
session.cookie_domain=linuxserver.pergelcrm.com
NOT www.cardiologicforum.com
Cheers,
-js
Ferhat Can wrote:
Thank you for replying Jonathan, I set the session.cookie_domain in php.ini but it didn't work. I havetoo many session files in my /tmp directory. Everytime I refresh the page a new session file is created unfortunately.Ferhat Can----- Original Message ----- From: "Jonathan Sharp" <js-lists@sharpmedia.net> To: "Ferhat Can" <ferhatc@bilgi.edu.tr> Cc: <php-general@lists.php.net> Sent: Tuesday, October 15, 2002 6:55 PM Subject: Re: [PHP] Session problemSorry... session.cookie_domain in php.ini Make sure you can also write to /tmp -js Ferhat Can wrote:Dear All, I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and a local version of Red Hat. Here is the problem: I have a web site that depends on Session, but the Session ID seems to be regnerated evertime I refresh the page. I have tried different versions of PHP with different versions of Apache but the problem remained. I am giving some links on my server showing my system variables, and the session example given in the manual. Here is the link: http://linuxserver.pergelcrm.com/system.php <http://linuxserver.pergelcrm.com/system.php> Thanks in advance for your help. Ferhat Can