> Hi Everyone, I have a site that i need to password
> protect. Basically If the user has logged in
> correctly, they are redirected to the content site.
> Before redirection, a cookie is set called 'logged in'
> such as:
>
> <CFCookie name="loggedin" value="true">
> <cflocation url="test.cfm" addtoken="yes">
>
> Currently the Cookie is not being passed. The pages
> that the user is sent to will check to see if the
> cookie has been set. if it has not, they will be
> redirected to the login page. The server is set up in
> such a way that session and client variables are not
> enabled (not my idea) so this is my only option.... if
> you have any ideas on how to pass info between pages
> like this, or even something else in Cold Fusion that
> might work, please post it
CFCOOKIE and CFLOCATION can't both be used within the same page. If you want
to change the location of a page in which you return a cookie to the
browser, you can either use JavaScript or a META refresh tag.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.