Partners & Affiliates














[phplib] Cookies - Are they working ?.....Or Not? From: Rogers, Paul (Paul.Rogers <email protected>)
Date: 04/11/01

Dear All

I am in the process of trying to set up phplib. I have it talking to my
database (Oracle 8.0) and I'm trying to use the test pages included in the
/pages directory. I can access index.php but the session counter doesn't
increment properly. The first time I reload the page the counter jumps to
six. Thereafter, however many times I reload the page the counter stays at
six.

The manual states that this may be a problem and to look at phpinfo()
[output shown below]. I've tried looking at this but am unsure what I'm
supposed to be looking for. Can some one explain:

a) What is it I'm looking for?
b) Do the settings look right?
c) What am I doing wrong? :o)

Many Thanks

Paul

phpinfo() output

session

Session Support enabled

Directive Local Value Master Value
session.auto_start Off Off
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_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

*****************************************************************************
This email and any attachments transmitted with it are confidential
and intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the sender and do not store, copy or disclose the content
to any other person.

It is the responsibility of the recipient to ensure that opening this
message and/or any of its attachments will not adversely affect
its systems. No responsibility is accepted by the Company.
*****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>