<cfoutput> <meta http-equiv="refresh" content="5;url=http://olympus.scs.jhu.edu/#session.URL#/admissions/">
Your session has expired. You will be redirect in 5 seconds. <a href="http://olympus.scs.jhu.edu/#session.URL#/admissions/">click here</a> if you are not automatically redirected. </cfoutput> On 9/21/07, erik tsomik <[EMAIL PROTECTED]> wrote: > > the cflocation will preclude any client side code (HTML or JS) from > > displaying. > > > > use a JavaScript redirect. > > > > <cfif NOT structKeyExists(session, 'appfee')> > > > <script type="text/javascript"> > > > alert('your session has expired'); > > > <cfoutput>location.href="http://olympus.scs.jhu.edu/#session. > > URL#/admissions/";</cfoutput> > > > </script> > > > <cfabort /> > > </cfif> > > > > On 9/21/07, erik tsomik <[EMAIL PROTECTED]> wrote: > > > I am trying to show the alert saying that the session is expired and > > redirect then to home page. I got this working except I do not see the > > alert > > > > > > <cfif not isDefined("session.appfee")> > > > > > > <script type="text/javascript" runat="server"> > > > alert ('your session has expired'); > > > > > > <cflocation url="http://olympus.scs.jhu.edu/#session. > > url#/admissions/" addtoken="no"> > > > </script> > > > <cfabort> > > > </cfif> > > > > > > > The code eis working. Thanks a lot. I was just wondering is that possible to > display a message saying that session is expired and you will be redirecting > in 5 sec > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

