Posted by Michael Landin Hostbaek on 11/25/05 12:11
cricketunes@yahoo.com tried to tell us something, and all I got was:
> I thought I can store them up in different cookies and use them[Ideas
> for a better method would be most welcome].
Sessions ? Store the data in a DB ?
> Should setcookie() be called before you code any other statements? When
> I set 2 cookies at the top of the file and a third cookie after some
> processing, the 3rd cookie doesnt seem to be set at all.
Put the different variables in the same cookie - fx seperated by ':' or
extract them later with split or explode.
/mich
--
Michael L. Hostbaek
FreeBSD mich 7.0-CURRENT FreeBSD 7.0-CURRENT
Thu Sep 8 20:08 CEST 2005 root@mich:/usr/obj/usr/src/sys/S7010-1 i386
[Back to original message]
|