1 Reply Latest reply on Mar 23, 2007 7:25 AM by Karthik_Nataraj


    newcf Level 1
      In order to go to search page , users have to login . If they skip the login page and try to jump into the search page then it will redirect them to login page so they can login. Please look at my code for three pages and tell me what did I have wrong
        • 1. Re: login
          Rename your "application.cfm" to "validateuser.cfm" and include that file in "search.cfm".

          Application.cfm has special features in ColdFusion and is not exactly equivalent to Global.asa for ASP. It is called before every cfm page is executed including your login.cfm.

          Also before you use session variables, set your application.cfm to enable session management. See the coldfusion example applications that are installed optionally on how the login screen & sessions are managed.