Re: Simple Session problem

From: Date: Wed, 17 Oct 2001 20:46:58 +0000
Subject: Re: Simple Session problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71401@lists.php.net to get a copy of this message
two problems, first is session_start(); $arr = 4; session_register('arr'); second is look at the path. '/tmp\sess_e4a8120f606dd307f29530bd5ff38f6e' does that look right ? nope. check your php.ini. change the session temp file to 'c:\temp' or something like that. then give it a try. -- Chris Lee lee@mediawaveonline.com "De Necker Henri" <deNeckerH@ford.co.za> wrote in message news:3A8ED7A62794D311AA7700508B6164EC08DCA318@SCPTS01... > Hi all > How do u begin a session without any problems??? > Where must session be registert in an html page? > > This is my simple code that im using and its giving me this error -> > > //session_start(); > $arr = 4; > session_register("arr"); > session_start(); > > > Warning: open(/tmp\sess_e4a8120f606dd307f29530bd5ff38f6e, O_RDWR) failed: m > (2) in c:/program files/merlin desktop/apache/htdocs/r_employee_total.php on > line 4 > > I

« previous php.general (#71401) next »