Dear all
i was also suffering from such type of priblem.
When the user logs in by his login name and password.At this time we create
a session variable.
And now when the user will request any page we will check that session
variable is in existance.
we check it at the top of every page or simply we write ur statements in
Application.cfm file.
creation process:
session.started="true"
To check session
<cfif not isDefined("session.started")>
<cflocation template="login.cfm">
</cfif>
Plz give response.
Best Regards
Muhammad Mumtaz Ahmad
software Engineer.
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04 Fax: 6664307
"Jon Hall"
<jonhall@ozli To: CF-Talk <[EMAIL PROTECTED]>
ne.net> cc:
Subject: Re: Detect session timeout and
prompt messages.
03/29/01
02:51 PM
Please
respond to
cf-talk
Just put this in your application.com.
<cfif isDefined("session.variableName")>
<cflocation template="login.cfm">
</cfif>
jon
----- Original Message -----
From: "Rudy Rustam" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 29, 2001 3:58 AM
Subject: Detect session timeout and prompt messages.
> Hi folks,
> How is it possible to prompt the user a message after session timeout?
> Or how do we detect whether the session has time out?
>
> thanx in adv
>
> - Rudy
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists