Session Link Problems

From: Date: Fri, 12 Dec 2003 00:02:32 +0000
Subject: Session Link Problems
Groups: php.general 
Request: Send a blank email to php-general+get-172539@lists.php.net to get a copy of this message
Hi, I am having a problem with sessions. On my testing machine my script works perfectly. However on the remote server it tries to pass the session id in the url even though I am accepting cookies. It is messing up all my links since it puts PHPSESSID=6a4626fc1cde0fb228fcb3ebe5587ffd in front of my hrefs without an & after. If I click the link then it registers the session as a cookie and everything works fine from there on out. Don't understand what is happening as everyting used to work fine, and I don't think I changed anyting. Don't know how well I described this. Take a look if you are confused. The link to the site is http://www.designoriginalsbykim.com. Thanks for any help you may be able to give. Steve Turner Fort Collins, CO http://www.SteveOnWeb.com The session part of phpinfo() is session Session Support enabled Registered save handlers files user Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 On On session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 100 100 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid On On

« previous php.general (#172539) next »