I tried this code but it saying that the session does not exist
<cfif NOT structKeyExists(session, 'appfee')>
<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>
</cfif>
>well, one issue you're going to run into off the bat is that if the
>session is expired, the #session.URL# variable will be undefined. so
>you'll have to address that.
>
>but it's no different than the logic you used in your initial post.
>
><cfif NOT isDefined('session.appfee')>
> the code i provided goes here
></cfif>
>
>
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289135
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4