Re: Cookies help please
| From: | Jason Wong | Date: | Fri, 06 Dec 2002 19:32:08 +0000 |
| Subject: | Re: Cookies help please | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127305@lists.php.net to get a copy of this message | ||
On Friday 06 December 2002 20:22, Steve Vernon wrote:
> The code below keeps my sessions but the cookie bit dosent work.
>
> Thanks,
>
> Steve
> XX
>
> /* Check a session is valid
> */
> function session_check($db_link)
> {
> //Ok so either want to log on, or have a session or cookie allready
> if(isset($_SESSION['ssun']) || isset($_COKKIE["ssun"]) ||
---------------------------------------------^
Shouldn't that be $_COOKIE??
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A closed mouth gathers no foot.
*/