Something like
 
<cfset LoginSuccess = "false">
<cfif IsDefined(cfhttp.responseheader['set-cookie'])>
    <cfset LoginSuccess = "true">
</cfif>
 
?
 
 
 
 
 
: Thanks again for all the help yesterday.  Im about wrapped up with this
:  project now but Ive encountered one last problem.  The http response doesnt
:  return cfhttp.responseheader[set-cookie] if the login failed.  I cant seem to
:  figure out how to test for if it is defined.  Any ideas on this?
:   
: My other thought is using the content-length as my flag for if the login
:  failed because I can tell by the length of the response if it failed but this
:  doesnt seem like the most solid approach and seems like it could lead to
:  issues down the road.
:   
: Thanks again for the help.
:   
: Jeff

:  
: On Thu, Apr 16, 2009 at 3:25 PM, Cameron Childress <[email protected]> wrote:
:  Ah - yes bracket notation is great for illegal variable names as struct keys.

:  -Cameron
:  

: On Thu, Apr 16, 2009 at 3:07 PM, Jeff Howard <[email protected]> wrote:
: > Thanks Cameron, you actually answered the question.  I was trying to
: > reference it using dot notation and when it got to .set-cookie it was only
:  >looking for .set.

: --
:  
:  
:  
: Cameron Childress
: Sumo Consulting Inc
: http://www.sumoc.com
: ---
: cell:  678.637.5072
: aim:   cameroncf
: email: [email protected]
:  

: -------------------------------------------------------------
: To unsubscribe from this list, manage your profile @
: http://www.acfug.org?falogin.edituserform
:  
: For more info, see http://www.acfug.org/mailinglists
: Archive @ http://www.mail-archive.com/discussion%40acfug.org/
:  List hosted by http://www.fusionlink.com
: -------------------------------------------------------------








----------------------- Original Message -----------------------
  
From: Jeff Howard <[email protected]>
Date: Fri, 17 Apr 2009 17:08:59 -0400
Subject: Re: re[6]: [ACFUG Discuss] cross domain cookie validation
  
Thanks again for all the help yesterday.  I'm about wrapped up with this project now but I've encountered one last problem.  The http response doesn't return cfhttp.responseheader['set-cookie'] if the login failed.  I can't seem to figure out how to test for if it is defined.  Any ideas on this?
 
My other thought is using the content-length as my flag for if the login failed because I can tell by the length of the response if it failed but this doesn't seem like the most solid approach and seems like it could lead to issues down the road.
 
Thanks again for the help.
 
Jeff

On Thu, Apr 16, 2009 at 3:25 PM, Cameron Childress <[email protected]> wrote:
Ah - yes bracket notation is great for illegal variable names as struct keys.

-Cameron

On Thu, Apr 16, 2009 at 3:07 PM, Jeff Howard <[email protected]> wrote:
> Thanks Cameron, you actually answered the question.  I was trying to
> reference it using dot notation and when it got to .set-cookie it was only
> looking for .set.

--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [email protected]


-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------




------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------

Reply via email to