Thanks for the reply Isaac,
   
    I tried placing the following code in the application.cfm page but the user is not 
logged in until they enter the members area of the site. Will this code work outside 
of the application page? Currently the loginid is not declared in the application page.

<cflock scope="session" type="readonly" timeout="10">
<cfset loggedin = YesNoFormat(IsDefined("session.loginid"))>
</cflock>

<cfif not loggedin>
<cfinclude template="loginform.cfm"><cfabort>
</cfif>

Any other ideas as to how to approach this? I think displaying a message in case of 
timeout should be a common task? But I'm stuck.



Thanks

-Paul






______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to