Re: How to detect timeout session??

2002-05-16 Thread Mario Martinez

Thank you for all your concern
Thank you Sharon specially .
I finish to polish the suggestions with this last  mail
regards Mario
- Original Message -
From: "Sharon Diorio" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 1:56 PM
Subject: Re: How to detect timeout session??


> In the application.cfm:
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> On the login page, you'd set the session variable "loggedIn" to equal 1.
This catches people who've timed out as well as people who've not logged in
yet.
>
> Sharon DiOrio
>
> - Original Message -
> From: "Mario Martinez" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, May 16, 2002 11:49 AM
> Subject: How to detect timeout session??
>
>
> > Hi friends:
> > I need to find an easy way to detect timeout session to redirect the
user to
> > a login page in case he  has spent too much time without actvity.
> > Any easy way to detect that at the beginning of one template???
> >
> > regards and thanks in advance
> > Mario
> >
> >
> 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: How to detect timeout session??

2002-05-16 Thread Sharon Diorio

In the application.cfm:











On the login page, you'd set the session variable "loggedIn" to equal 1.  This catches 
people who've timed out as well as people who've not logged in yet.

Sharon DiOrio

- Original Message - 
From: "Mario Martinez" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 11:49 AM
Subject: How to detect timeout session??


> Hi friends:
> I need to find an easy way to detect timeout session to redirect the user to
> a login page in case he  has spent too much time without actvity.
> Any easy way to detect that at the beginning of one template???
> 
> regards and thanks in advance
> Mario
> 
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to detect timeout session??

2002-05-16 Thread Tony_Petruzzi





put this in your application.cfm. make sure to client variables enabled.

Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org


-Original Message-
From: Margaret Fisk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 12:23 PM
To: CF-Talk
Subject: RE: How to detect timeout session??


I do a similar check but at the top of the page so it also catches people
who haven't logged in at all. If the session variables are not defined or
don't have the correct values (clicking logout changes to invalid value)
then it redirects to the login page. This is both security for direct calls
to the individual page and manages session timeouts in one.

Margaret

-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 9:21 AM
To: CF-Talk
Subject: RE: How to detect timeout session??


put this in application.cfm


 // fusebox style
OR
 // be careful here that you don't end
up in an endless loop since application.cfm will be called again when the
location happens


+---+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
Telecommunication Systems
[EMAIL PROTECTED]
+---+

"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis



-Original Message-
From: Mario Martinez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 8:50 AM
To: CF-Talk
Subject: How to detect timeout session??


Hi friends:
I need to find an easy way to detect timeout session to redirect the user to
a login page in case he  has spent too much time without actvity.
Any easy way to detect that at the beginning of one template???

regards and thanks in advance
Mario




__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to detect timeout session??

2002-05-16 Thread Margaret Fisk

I do a similar check but at the top of the page so it also catches people
who haven't logged in at all. If the session variables are not defined or
don't have the correct values (clicking logout changes to invalid value)
then it redirects to the login page. This is both security for direct calls
to the individual page and manages session timeouts in one.

Margaret

-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 9:21 AM
To: CF-Talk
Subject: RE: How to detect timeout session??


put this in application.cfm


 // fusebox style
OR
 // be careful here that you don't end
up in an endless loop since application.cfm will be called again when the
location happens


+---+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
Telecommunication Systems
[EMAIL PROTECTED]
+---+

"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis



-Original Message-
From: Mario Martinez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 8:50 AM
To: CF-Talk
Subject: How to detect timeout session??


Hi friends:
I need to find an easy way to detect timeout session to redirect the user to
a login page in case he  has spent too much time without actvity.
Any easy way to detect that at the beginning of one template???

regards and thanks in advance
Mario



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



How to detect timeout session??

2002-05-16 Thread Mario Martinez

Hi friends:
I need to find an easy way to detect timeout session to redirect the user to
a login page in case he  has spent too much time without actvity.
Any easy way to detect that at the beginning of one template???

regards and thanks in advance
Mario

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists