--- Mignon Hunter [EMAIL PROTECTED] wrote:
When I print_r my session vars part of what get is:
Do this:
print_r($_SESSION);
Show us what that outputs.
Your output seemed to infer that you are doing something else when you print_r
your session vars, as _SESSION was listed as a key within
On 13 August 2003 23:00, Mignon Hunter wrote:
Hi
This will be real simple for you guys. When I print_r my session
vars part of what get is:
[_SESSION] = Array
(
[cart] = shoppingcart Object
(
[contents] = Array
Hi
This will be real simple for you guys. When I print_r my session vars
part of what get is:
[_SESSION] = Array
(
[cart] = shoppingcart Object
(
[contents] = Array
(
[37] = Array
That's what he was doing and he gave us the output. You can have an
object stored in $_SESSION as long as the class and object were defined
_before_ you stared the session.
You would therefore access it like this:
$some_var = $_SESSION['object_name']-varname;
Cheers!
-Michael
Chris Shiflett
Thanks Mike and Michael Smith.
It works !
On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote:
On 13 August 2003 23:00, Mignon Hunter wrote:
Hi
This will be real simple for you guys. When I print_r my session
vars part of what get is:
[_SESSION] = Array
(
Ps
i'm a girl
On Thu, 2003-08-14 at 08:53, Mignon Hunter wrote:
Thanks Mike and Michael Smith.
It works !
On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote:
On 13 August 2003 23:00, Mignon Hunter wrote:
Hi
This will be real simple for you guys. When I print_r my
6 matches
Mail list logo