[FX.php List] Cookies OFF still a problem
Jonathan Schwartz
jonathan at eschwartz.com
Thu Nov 23 02:18:09 MST 2006
Hi Folks,
I know that I've asked this question before, and have been referred
to php manual pages, which I've studied to death. I just can't seem
to get it to work in my environment (OS X Server 10.4) PHP 4.4 1.
I'm hoping that someone can look at my php info (below) and detect a problem.
First question: From reviewing the php info below, are the settings
correct? One of the confusing factors, the online manual refers to
"1" and "0", while my settings show "On" and "Off".
I know that one of the key settings id session_use_only_cookies, but
I can't quite decide if this needs to be On or Off for the "magic" to
happen in the URL.
Finally, I tried using ini_set at the top of the starting page, but
I'm not sure exactly where this goes...before or after
session_start()...and would I set this "1", "0", "On" or "Off".
I've tried them all.
Does anyone have a site that has this feature working? I'd like to
see the results both with and without my browser cookes turned on, so
that I know what to expect.
My test this far is to set a session variable on the first page and
then test for the existence of the variable on the second page. If
the variable is not set, I throw up a warning and tell the user that
they can't use the site. Not good.
Sure would love to resolve this one.
Thanks.
Jonathan
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
Off
Off
--
Jonathan Schwartz
FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance
Schwartz & Company
jonathan at eschwartz.com
http://www.eschwartz.com
http://www.exit445.com
415-381-1852
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20061123/e2d93228/attachment.html
More information about the FX.php_List
mailing list