Re: FW: Cookies, Dammit!

From: Date: Tue, 16 Jan 2001 23:09:53 +0000
Subject: Re: FW: Cookies, Dammit!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34918@lists.php.net to get a copy of this message
Any reason you don't include the contents of /index.htm into /ministe1/index.htm with the appropriate welcome message instead of redirecting, or even pass the site name in the query string of the Location: URL if you're not wanting to rely on http_referer? jason > In this case, the value of the cookie is pulled from a database; the > specific value depends on the URL at the user is redirecting from. If the > user comes from > > www.domain.com/minisite1/index.htm > > then when they're directed to www.domain.com/index.htm, they should see > "Welcome from minisite1"; but if they come from > > www.domain.com/minisite2/index.htm > > they should see "Welcome from minisite2" when they're redirected to > www.domain.com/index.htm. > > it's a bit more complicated than that, but that's the general idea. > > Hope that helps. > > > -- > Richard S. Crawford > Senior Web Developer > NeuroHub, Inc. > (916)789-4167 / (530)307-0069(cell) > AIM Handle: Buffalo2K > http://www.neurohub.net

« previous php.general (#34918) next »