RE: [PHP] FW: Cookies, Dammit!

From: Date: Tue, 16 Jan 2001 23:19:24 +0000
Subject: RE: [PHP] FW: Cookies, Dammit!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34921@lists.php.net to get a copy of this message
The first approach is actually what we do now. However, since /index.htm is a dynamic page which changes frequently, we don't want to have to try to echo all of those changes into all of the /minisite directories (of which there are well over 100) every single time a change occurs. We're going to try the second approach now, but we still are going to try to build the query string of the Location: header based on values retrieved from a MySQL database. -- Richard S. Crawford Senior Web Developer NeuroHub, Inc. (916)789-4167 / (530)307-0069(cell) AIM Handle: Buffalo2K http://www.neurohub.net -----Original Message----- From: Jason Brooke [mailto:jason@qgl.org] Sent: Tuesday, January 16, 2001 3:10 PM To: Richard S. Crawford Cc: php-general@lists.php.net Subject: Re: [PHP] FW: Cookies, Dammit! 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 (#34921) next »