Hi all,,
Can some one help me with this little issue ... I am trying out some
prewritten scripts curtesy of SAMS PHP and MYSQL Web Development, Ch24 -
User Authenication & Personalisation on my server setup
The Configuartion for my development environment is Apache 2.39, Win
2000, PHP 4.2.3
The Ini file has the following session settings (as taken from PHPInfo.php):
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
.c:/php/sessions/tmp .c:/php/sessions/tmp
session.serialize_handler
php php
session.use_cookies
On On
session.use_trans_sid
0 0
The error occurs after the registration page is submitted with the
following using the function session_start() on the register page.:
Warning:
open(.c:/php/sessions/tmp\sess_fa42372dcdbde0e457309f134d71827f, O_RDWR)
failed: Invalid argument (22) in C:\Program Files\Apache
Group\Apache2\htdocs\SAMS\Chapter24\member.php on line 5
I believe the problem is in my PHP setup and not the script. The Invalid
arguement is the trigger for the config error to be initaited but I am
not sure how to edit the php.ini file. I want to ensure that session are
started when the server is started. I am also unsure of the function
and terminology of
session.save_handler
files files
with the use of "files". Is this the correct default. Also is this the
correct session save path:
session.save_path
.c:/php/sessions/tmp .c:/php/sessions/tmp
What is wrong, please help.
Charlie
- Re: [PHP] Problem with sessions Charlie Fowler
- Re: [PHP] Problem with sessions Ernest E Vogelsinger
- Re: [PHP] Problem with sessions rija
- [PHP] Problem with sessions Sidar Lopez Cruz
- Re: [PHP] Problem with sessions Larry E. Ullman
- [PHP] Problem with sessions Peda
- [PHP] Problem with sessions Peda
- Re: [PHP] Problem with sessions John W. Holmes
- [PHP] Problem with Sessions Sheni R. Meledath
- [PHP] Problem with sessions gregosh