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
> ($_SESSION['name']='somevalue') but that didn't work.
> The normal way of setting it -
> session_start();
> session_register('name');
> $name='somevalue';
>
> - didn't work either (within the class).

"didn't work" isn't very helpful to us. How useful would it be for me to
just answer you with "it worked" for me.

Show us some code examples (short ones) as to how this doesn't work, please.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to