note 63845 added to ref.session
| From: | ketan9athotmail dot com at osu1 dot php dot net | Date: | Sat, 01 Apr 2006 20:14:07 +0000 |
| Subject: | note 63845 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107136@lists.php.net to get a copy of this message | ||
-- PHP Session not working --
I had issues with PHP Session not storing the values assigned to it. My system config, win xp pro,
apache 2.0.55, Php 5.1.2.
I had to try several things and finally figured out the following will work. In your PHP.ini for
your session settings, try the following settings and see if it solves out. My worked this way. Let
me know if you run into any issues.
[Session]
session.save_handler = files
session.save_path =
session.use_cookies = 0
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path =
session.cookie_domain = "localhost"
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
Ketan Patel
----
Server IP: 216.235.15.211
Probable Submitter: 69.193.20.92
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/note/edit/63845
Del: integrated -- http://master.php.net/note/delete/63845/integrated
Del: useless -- http://master.php.net/note/delete/63845/useless
Del: bad code -- http://master.php.net/note/delete/63845/bad+code
Del: spam -- http://master.php.net/note/delete/63845/spam
Del: non-english -- http://master.php.net/note/delete/63845/non-english
Del: in docs -- http://master.php.net/note/delete/63845/in+docs
Del: other reasons-- http://master.php.net/note/delete/63845
Reject -- http://master.php.net/note/reject/63845
Search -- http://master.php.net/manage/user-notes.php