On Monday, May 26, 2003, at 17:32 US/Pacific, Jeff wrote:
> The LAST four lines of my Application.cfm are NOW:
> <cfif (getAuthUser() Eq "") AND (CurrentPage NEQ "login.cfm")>
> <cfheader name="Location" value="login.cfm">
> <cfabort>
> </cfif>

I've discovered that simply swapping:
        <cflocation url="login.cfm">
with:
        <cfheader name="Location" value="login.cfm">
isn't enough. You also need to set the status code to indicate to the 
browser that the request should be redirected:

        <cfheader statuscode="302" statustext="Moved Temporarily">
        <cfheader name="Location" value="login.cfm">

HTH and sorry it's taken me so long to reply to this...

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to