Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Mobile phone redirection question

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40945
    Durkin
    Member

    Hi I’m currently developing a mobile website for a client (first time I’ve done it!) and they want to have the option for a mobile user to choose either the mobile site or the live site before they see anything else.

    The way I was going to do this is redirect mobile users away from the full site when the visit and present a splash page where they have the option to choose the full site or the mobile version.

    My question is, how can I make it so that when mobile users click the ‘view full site’ button it won’t automatically loop back to the splash page again?

    If anyone can help with this it would be appreciated.

    Thanks in advance! :)

    #115297
    tjkrusinski
    Member

    You could add a cookie. If you’re using PHP it’d be a session variable (sessions in PHP are just an API for easily working with cookies).

    #115357
    Durkin
    Member

    Yep after a bit more reading it looks like I’m going to have to give them a cookie. Hopefully will be able to figure it out from here, thanks for the help! :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.