Re: redirect to a page the fist time a site is accessed
| From: | Igor Escobar | Date: | Thu, 16 Apr 2009 13:07:05 +0000 |
| Subject: | Re: redirect to a page the fist time a site is accessed | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291554@lists.php.net to get a copy of this message | ||
I Agree with @stuart.
Regards,
Igor Escoar
Systems Analyst & Interface Designer
--
Personal Blog
~ blog.igorescobar.com
Online Portifolio
~ www.igorescobar.com
Twitter
~ @igorescobar
On Thu, Apr 16, 2009 at 6:05 AM, Stuart <stuttle@gmail.com> wrote:
> 2009/4/15 Don <don@program-it.ca>:
> > I have some code in my index.php file that check the user agent and
> > redirects to a warning page if IE 6 or less is encountered.
> >
> > 1. I'm using a framework and so calls to all pages go through index.php
> > 2. The code that checks for IE 6 or less and redirects is in index.php
> >
> > I know how to redirect the users but what I want to do is redirect a user
> > ONLY the first time the web site is accessed regardless of what page they
> > first access. I would like to minimize overhead (no database). Can this
> be
> > done?
>
> Why redirect? That sucks as a user experience. Why not simply put an
> alert somewhere prominent on the page with the message you want to
> convey? That way you can have it on every page and not interrupt the
> users use of your site.
>
> -Stuart
>
> --
> http://stut.net/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>