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
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
... 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
> -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();
> $
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
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
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
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
8 matches
Mail list logo