-----Original Message-----
From: Robert Hinojosa [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 2:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Cookie Question...Billy,
How does this work? I've never seen it done like this before. How does this handle the header content?
Robert
-----Original Message-----
From: Billy Cravens [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Cookie Question...
Try this, to avoid the cfcookie/cflocation issue, as well as avoiding
the dependency on javascript:<cfif login is "successful">
<cfif form.remember eq 1>
<cfcookie name="login_username"
value="#form.username#" expires="NEVER">
<cfcookie name="login_password"
value="#form.password#" expires="NEVER">
<cfcookie name="login_remember" value="yes"
expires="NEVER">
<cflocation url="index.cfm" addtoken="No">
<cfelse>
<cfcookie name="login_username"
value="#form.username#" expires="NOW">
<cfcookie name="login_password"
value="#form.password#" expires="NOW">
<cfcookie name="login_remember" value="yes"
expires="NOW">
<cflocation url="index.cfm" addtoken="No">
</cfif>
</cfif>
<html>
<head>
<meta http-equiv="REFRESH" content="0; url=index.cfm">
</head><body></body>
</html>-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
Title: RE: Cookie Question...
nevermind, I get it. Your not using the CF code, your point was just to
show the meta tag.
Robert
- RE: Cookie Question... Robert Hinojosa
- RE: Cookie Question... Robert Hinojosa
- RE: Cookie Question... Houk, Gary
