Give help. Get help.

  • # November 23, 2012 at 5:40 am

    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! :)

    # November 23, 2012 at 10:54 pm

    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).

    # November 24, 2012 at 4:44 pm

    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)

You must be logged in to reply to this topic.