Create a welcome/splash screen in a PUBLIC area of the web site. Insert a META REFRESH content tag that redirects to the protected resource after a few seconds (or long enough to read the splash screen).
I have created the the splash screen and used the meta tag too. How do I make the splash screen the initial page like in Vb we check mark the name of the form to be loaded first. How do we do that in CF
If you want to make sure the splash page is seen first each session (visit) on a CF site, then teh best thing to do is create a session variable in your application file that defaults to a negative value, and then have the splash page itself change to positive.
I know that is a bit confusing, so here is what I would suggest in coding:
In the APPLICATION.CFM file, set a session variable to a default value which indicates that the splash page has not been seen yet:
NOW, to make sure you do not end up in an endless splashpage loop, in the SPLASHPAGE.CFM file change the variable to a positive value so it will no longer load the splash page.
<CFSET SESSION.SPLASHLOADED = "YES">
That should ensure that your splash page always is seen first!
Keep in mind that all your site's pages must be cfm to work - any html pages will not trigger the required splash loader.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.