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:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 3:10 PM
To: Richard S. Crawford
Cc: [EMAIL PROTECTED]
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






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to