Problems with sessions in PHP 4.0b5-dev
| From: | Francis Smit | Date: | Sat, 04 Mar 2000 02:08:26 +0000 |
| Subject: | Problems with sessions in PHP 4.0b5-dev | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11498@lists.php.net to get a copy of this message | ||
Hi,
we're using PHP 4.0b5-dev, formerly we we're using,
4.0b3, and some of my work mate's have a problem with
using sessions, basically when they get to the next page,
and call session_start(); they get one of three outcomes,
1). everything works fine, no problems,
2). they get errors about the session vars being undefined
3). they get back old data instead of the last data they put in.
Does anyone else get this? know what could cause it?,
know what data we should be sending you to get better,
help? our session stuff from our php.ini file is:
[Session]
session.save_handler = files ; handler used to store/retrieve data
session.save_path = /tmp ; argument passed to save_handler
; in the case of files, this is the
; path where data files are stored
session.use_cookies = 1 ; whether to use cookies
session.name = PHPSESSID ; name of the session
; is used as cookie name
session.auto_start = 0 ; initialize session on request startup
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
; or if 0, until browser is restarted
session.cookie_path = / ; the path the cookie is valid for
session.cookie_domain = ; the domain the cookie is valid for
session.serialize_handler = php ; handler used to serialize data
; php is the standard serializer of PHP
session.gc_probability = 1 ; procentual probability that the
; 'garbage collection' process is started
; on every session initialization
session.gc_maxlifetime = 1440 ; after this number of seconds, stored
; data will be seen as 'garbage' and
; cleaned up by the gc process
session.extern_referer_check = ;
session.entropy_file = ;
session.entropy_length = 0 ;
is there any problem, with them?
--
Grisly . oo
`oO
Francis Smit
Knowledge By Design/OzTel
Suite 201, 683 George st
Sydney 2000 NSW
mailto:francis@kbd.com.au
Tel: +61 2 9212 1399
Fax: +61 2 9212 5727
___________________________________
m$: How can we stuff you up today?