www.webdeveloper.com
Results 1 to 3 of 3

Thread: Coldfusion - create "permanently bypass" option on splash page

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    47

    Coldfusion - create "permanently bypass" option on splash page

    I have a splash page for our site (not my choice, but my client wants it), and I need to add an option to "permanently bypass" beside the enter store option.

    Anyone have any idea or advice on how to create that so that it works properly?

  2. #2
    Join Date
    Mar 2008
    Posts
    123
    add this to the top of your page.

    Code:
    <cflocation url="whereYouWantToGo.html"/>

  3. #3
    Join Date
    Dec 2002
    Location
    St. Louis, MO, USA
    Posts
    1,582
    The only thing I can think of is to use cookies. If a person has cookies disabled in their browser, then they will see the splash page every time.

    In Application.cfm, use a conditional to check if the cookie exists; if not, create it and default it to 1; if it does exist, get the value.

    If value = 0, skip the splash page; if value = 1, show the splash page.

    Create a checkbox to "skip this in the future" and use the onClick to change the value of the cookie.

    I see that this thread is weeks old; hope you still check here from time to time.

    ^_^

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles