[PHP] Re: session handling

2006-03-09 Thread João Cândido de Souza Neto
One important question is: You're using register_globals equal on or off? suresh kumar wrote: > i am having one problem in session handling. > I am having 2 files,login page and hame page. > when user enterd user name and password in login page > .i used session to store the user id .in my seco

[PHP] Re: session handling works on local server, but not when uploaded to ISP

2003-06-28 Thread Bobby Patel
It could be a warning in your script. On your local server, maybe you have error reporting set to minimal (ie. don't report warnings), whereas the ISP server might have it turned up higher by default. near the top of your script reporter_view.php put in the line error_reporting(E_ALL); ie. Mayb

[PHP] Re: session handling works on local server, but not when uploadedto ISP

2003-06-28 Thread Tularis
... and line 5 of reporter_view.php reads what? =/ Anders Thoresson wrote: Hi, I've a login script that works fine on my local server, but when I runs it from my ISP I get the following error: Warning: Cannot send session cookie - headers already sent by (output started at /export/home/thore/pu

RE: [PHP] Re: session handling

2002-11-18 Thread Ford, Mike [LSS]
> -Original Message- > From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] > Sent: 16 November 2002 07:23 > To: [EMAIL PROTECTED] > Subject: [PHP] Re: session handling > > > Here's what you need: > > on page 1.php: > > session_start(); > $

[PHP] Re: session handling

2002-11-16 Thread conbud
Hey you may want to try in page2.php : session_start(); echo('{$_SESSION['abc']}'); Lee "Anjali Kaur" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i want to access some variables generated in one page > in all the other pages, so i thought of using > $_SES

Re: [PHP] Re: session handling

2002-11-16 Thread Ernest E Vogelsinger
At 18:04 16.11.2002, Lars Espelid said: [snip] >Session-vars won't work on my pages either. >Tried your suggested code, but get the following errors in my browser: > >Page 1: >Warning: open(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m >(2) in

[PHP] Re: session handling

2002-11-16 Thread Lars Espelid
Session-vars won't work on my pages either. Tried your suggested code, but get the following errors in my browser: Page 1: Warning: open(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m (2) in c:\apache group\apache\htdocs\system\kode\test.php on line 2 Page 2: Warning: open(/tmp\se

[PHP] Re: session handling

2002-11-15 Thread OrangeHairedBoy
Here's what you need: on page 1.php: on page 2.php: You have to register the variable with the session first so it knows that it's a variable that needs monitored and, when the script finishes, needs saved. Hope this helps! Lewis "Anjali Kaur" <[EMAIL PROTECTED]> wrote in message [EMAIL P