Help!

I have an application setup on a CFMX server and everything is fine. It
is a VERY simple app, and one of the pages writes a cookie, then
redirects to another page (was with <CFLOCATION, but now changed to JS).


 

I am trying to move this app to a CF Server 5 machine, and the cookies
won't write. It's really basic code as you can see below, so I'm at a
loss to understand why CF5 is having issues. Any thoughts?

 

<CFIF FORM.username IS "test" AND FORM.password IS "test">

            <CFCOOKIE NAME="loginCookie" EXPIRES="NEVER"
VALUE="loggedIn">

            <!--- <CFLOCATION url="main.cfm"> --->

 

            <SCRIPT language="JavaScript"> 

                        <!-- location.replace("main.cfm"); --> 

            </SCRIPT> 

            

<CFELSE>

            <CFLOCATION URL="index.cfm?denied=yes">

</CFIF>

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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