Try this:

<cfif not isDefined("session.appfee")>
       <cfoutput>
        <script type="text/javascript" runat="server">
     alert ('your session has expired');
         window.location = 
"http://olympus.scs.jhu.edu/#Session.URL#/admissions/";;

        
               
</script>
</cfoutput>

<cfabort>
        </cfif> 




erik tsomik 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> 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289117
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to