Cookie stored but cannot trigger the function...

From: Date: Thu, 22 Feb 2001 12:54:58 +0000
Subject: Cookie stored but cannot trigger the function...
Groups: php.general 
Request: Send a blank email to php-general+get-41145@lists.php.net to get a copy of this message
Hi! Check ou this website: THe problem is that when u Click on anyof the links on the left.. Currently only the Equity link..It will check for a cookie in your browser, if cookie is found then It''ll show u the content but if not found it'll redirect to lohin.php page. Before redirecting it will also store a cookie in the browser named camefrom. SO then On the login.php page a user enters username and pasword and Submits.. if user is found then It has to get the Cookie value like this: $goto = $HTTP_COOKIE_VARS['camefrom']; header ("Location: $goto"); but the problem is that it goes back to login.php instead of equity.php Si there any possible reason for this..? Thanx! Cheers!~ Dhaval Desai __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

« previous php.general (#41145) next »