><cfif session.allowin neq "true">
> <cfif ListLast(CGI.SCRIPT_NAME, "/") EQ "../admin_login.cfm">
> <cfelseif ListLast(CGI.SCRIPT_NAME, "/") EQ "login_process.cfm">
> <cfelse>
> <!--- Not logged in, alert user and redirect --->
> <script>
> <!---alert("You must login to access this area!");--->
> self.location="../admin_login.cfm";
> </script>
> </cfif>
></cfif>
Why are you using JS? I usually <cfinclude> the login form. Never rely on JS
for anything like this.
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319540
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4