On Friday 12 March 2004 00:15, Alex Hogan wrote: > case 1: > > if(empty($_SESSION['sellocation'])){ > > $_SESSION['selloction'] = '0';
1) Are you sure you don't have a typo above? > redirect('cf_survey.php?cf=0'); If you want to set a session variable (and keep it set) when you do a redirect you need to the close the session first. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Don't let your mind wander -- it's too little to be let out alone. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php