Question:

Can you make cache (coding) to skip an intro page?

by  |  earlier

0 LIKES UnLike

If so can someone please help me do it.

 Tags:

   Report

2 ANSWERS


  1. Easier to provide a user the option to skip the intro with a link to main page.  See http://SAEMG.com/ .

    Ron


  2. Of course. Simply use cookies.

    For example, put a checkbox on your first page with some label like "Next time, skip this intro".

    Put some javascript on the button and write a cookie. Something like:

    document.cookie = "skipIntro=1";

    Then, write code (like PHP) at the top of your intro page. It will look like this:

    <?php

    if ($_COOKIE['skipIntro'] == '1')

    {

    header('location:otherpage.htm');

    die();

    }

    ?>

    Of course, this works as long and the cookie is on the browser. If it's deleted by the user, they will see the intro page once again.

    Good luck!

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions