From: "micro brew" <[EMAIL PROTECTED]>
> Here's my class. I start the session in the
> constructor and in later methods attempt to register
> session variables. You can see I've tried a couple
> different methods but none of them maintain the
> session variable values. Any suggestions?
Is regi
Thanks Curt,
You were absolutely correct. Removing the
session_register() lines before the $_SESSION[] fixed
the problem. By mixing the two before, it actually
would register the variable so I could later test for
the registered session variable but it did not retain
the value I assigned it. Th
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
> * Thus wrote micro brew ([EMAIL PROTECTED]):
> > Hi everyone,
> >
> > I've been experimenting with sessions. I can make
> > them work just fine in a normal PHP page. But when I
> > create a class and try to define a session variable
> > within a me
* Thus wrote micro brew ([EMAIL PROTECTED]):
> Hi everyone,
>
> I've been experimenting with sessions. I can make
> them work just fine in a normal PHP page. But when I
> create a class and try to define a session variable
> within a method in the class it won't work. I've
> tried setting the s
Here's my class. I start the session in the
constructor and in later methods attempt to register
session variables. You can see I've tried a couple
different methods but none of them maintain the
session variable values. Any suggestions?
Mike
http://www.somedomain.com/somepage.php';
var
$exitP
From: "micro brew" <[EMAIL PROTECTED]>
> I've been experimenting with sessions. I can make
> them work just fine in a normal PHP page. But when I
> create a class and try to define a session variable
> within a method in the class it won't work. I've
> tried setting the session variable directly
Am Die, 2003-09-09 um 10.19 schrieb micro brew:
> Hi everyone,
>
> I've been experimenting with sessions. I can make
> them work just fine in a normal PHP page. But when I
> create a class and try to define a session variable
> within a method in the class it won't work. I've
> tried setting th
Hi everyone,
I've been experimenting with sessions. I can make
them work just fine in a normal PHP page. But when I
create a class and try to define a session variable
within a method in the class it won't work. I've
tried setting the session variable directly
($_SESSION['name']='somevalue') bu
8 matches
Mail list logo