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