Hey Paul,
How a timeout-relogin page would be displayed is going to depend greatly on
how you manage your sessions. If you're using session variables, the
simplest way may be to use something like the following in your
application.cfm file:
<cflock scope="session" type="readonly" timeout="10">
<cfset loggedin = YesNoFormat(IsDefined("session.loginid"))>
</cfif>
<cfif not loggedin>
<cfinclude template="loginform.cfm"><cfabort>
</cfif>
hth
Isaac Dealey
Certified Advanced ColdFusion Developer
www.turnkey.to
954-776-0046
> Hello,
> I am fairly new to CF and i need to simply set the site I am
> building up to display a simple page asking the user to re-login
> in case of a timeout? Seems like an easy enough task but I'm not
> sure how to go about it.
> Any help would be appreciated.
> Thanks
> -Paul
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
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