[development] Sessions and non-logged-in users
Khalid B
kb at 2bits.com
Tue May 16 21:44:37 UTC 2006
Use session data.
To store something use:
$_SESSION['foo'] = $bar;
To get it back use:
$baz = $_SESSION['foo'];
That is it.
On 5/16/06, Nick Wilson <nick at communicontent.com> wrote:
> Hi everyone,
>
> I have to store some item id's (a little like a cart) for anon users. I
> can of course set a cookie with the id of the items, but i was wondering
> if there were any built in ways to manage this kind of thing?
>
> many thanks
> --
> Nick Wilson
> http://performancing.com/user/1
>
More information about the development
mailing list