[Mydatabasepilot-cvs] MyDatabasePilot Application.cfm,1.5,1.6
Status: Alpha
Brought to you by:
nanoface
From: <nan...@us...> - 2003-04-24 03:18:17
|
Update of /cvsroot/mydatabasepilot/MyDatabasePilot In directory sc8-pr-cvs1:/tmp/cvs-serv11264 Modified Files: Application.cfm Log Message: Removed Chunk of commented out code which is no longer required Index: Application.cfm =================================================================== RCS file: /cvsroot/mydatabasepilot/MyDatabasePilot/Application.cfm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Application.cfm 24 Apr 2003 03:07:09 -0000 1.5 --- Application.cfm 24 Apr 2003 03:18:13 -0000 1.6 *************** *** 71,86 **** </cfif> </cfif> - <!--- If requestLogIn does not exist, then set it to FALSE - <cfif NOT IsDefined("session.requestLogIn")><cfset session.requestLogIn = 0></cfif> - - <!---||| Ensure that session has not expired or a default data source is provided |||---> - <!--- If datasource is Empty String, this would indicate that no default data source was provided ---> - <!--- If user is not loggedIn and no default datasource was provided, and login page was not yet requested ... ---> - <cfif session.dataSource IS "" AND session.loggedIn IS FALSE AND session.requestLogIn IS FALSE> - <!--- Set the requestLogIn flag to True ---> - <cfset session.requestLogIn = "1"><!--- This line is needed so user is not sent on an endless redirect, since even the login form page calls the Application.cfm file ---> - <!--- Redirect User to login form ---> - <cflocation url="index.cfm"> - </cfif>---> <!---||| Initialize dbName |||---> --- 71,74 ---- |