Sure, or in the header if its shared amongst all the pages.

-----Original Message-----
From: Asim Manzur [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 20, 2004 11:32 AM
To: CF-Talk
Subject: Re: Force user to the login page automatically

You mean to put the blow code in application.cfm??


<InvalidTag language="JavaScript"><!--
setTimeout('Redirect()',4000);
function Redirect()
{
 location.href = '../htmljavascript.htm';
}
// --></script>




>Use a timed javascript redirect.  Set the timeout length the same as the
>session length.  You could even do it with a meta refresh.
>
>emmet
>
>-----Original Message-----
>From: Asim Manzur [mailto:[EMAIL PROTECTED] 
>Sent: Monday, December 20, 2004 11:15 AM
>To: CF-Talk
>Subject: Force user to the login page automatically
>
>I have an Application.cfm which timeout the session in 15 min.
>
>How is it possible to redirect the user to the logout page automatically
>when the session expires.
>
>i.e. user is on add.cfm page.
>and he left the screen there and came back to computer after 25 min and he
>is still on this page. he fill up all the fields and when he submit the
>button he was prompt to re-login.
>
>I want to show the use right when he come back he should see the logout
>page.
>
>how to re-direct the browser automatically to the loguout page when session
>expired.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188282
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to