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. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php