Re: Setting a Cookie and Redirecting the Browser

2000-08-17 Thread Jake Hileman

Why include that redirect.cfm.. why not just put the straight up script
data in the original CFM?

jake
- Original Message -
From: "Terry Bader" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 6:04 PM
Subject: RE: Setting a Cookie and Redirecting the Browser


 this works for us:

 CFCOOKIE NAME="xID" VALUE="#QueryName.Login_ID#"
 CFINCLUDE TEMPLATE="redirect.cfm"



 -
 !---  redirect.cfm   
 SCRIPTlocation="http://URL";/SCRIPT



 alot of in between missing but we have this concept..


 Terry Bader
 Web Developer
 EDO Corp - Combat Systems
 (757) 424-1004 ext 361
 [EMAIL PROTECTED]   [EMAIL PROTECTED]
 icq: 5202487   aim: lv2bounce
 http://www.cs.odu.edu/~bader





  -Original Message-
  From: Jake Hileman [SMTP:[EMAIL PROTECTED]]
  Sent: Tuesday, August 08, 2000 5:33 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Setting a Cookie and Redirecting the Browser
 
  That will still let you set the cookie?
 
  Also, I'm using cookies for authentication.. once they are
authenticated,
  it
  sets the cookie and the other pages check for the cookie, if it's not
  there,
  it sends them back.  Is this a safe way to do things?  The whole
session,
  application.cfm thing confuses me... and I don't like the idea of it
being
  stored in ram.
 
  Let me know,
 
  Jkae
  - Original Message -
  From: "Terry Bader" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, August 08, 2000 5:29 PM
  Subject: RE: Setting a Cookie and Redirecting the Browser
 
 
   you can also use:
   SCRIPTlocation="http://URL";/SCRIPT
  
   this help?
  
  
   Terry Bader
   Web Developer
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361
   [EMAIL PROTECTED]   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader
  
  
  
  
  
-Original Message-
From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser
   
Been there, done that.  I wound up using a meta tag to refresh the
  page
with
a time of 0.  That was the only way I could get it to work.
   
Brandon
   
Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com
   
-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Setting a Cookie and Redirecting the Browser
   
Has anyone come up with a plausible way of setting a cookie and
redirecting
the browser from within a ColdFusion 4.01 template using HTTP
headers
  (as
opposed to META tag redirects)?
   
Specifically, we're trying to redirect an image call from the
browser.
  The
image fails to load when it comes upon a HTTP "Refresh" header, and
  the
"Location" header seems to negate the setting of the cookie.
   
Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057
   
  
  

 --
--
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
   
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
  or
send a message to [EMAIL PROTECTED] with
'unsubscribe'
  in
the body.
   
  
  

 --

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
   
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
  or
send a message to [EMAIL PROTECTED] with
'unsubscribe'
  in
the body.
  

 --
  
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
  
 

 --
  
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
 --

 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 

Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Benjamin S. Rogers

Has anyone come up with a plausible way of setting a cookie and redirecting
the browser from within a ColdFusion 4.01 template using HTTP headers (as
opposed to META tag redirects)?

Specifically, we're trying to redirect an image call from the browser. The
image fails to load when it comes upon a HTTP "Refresh" header, and the
"Location" header seems to negate the setting of the cookie.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Kevin Langevin

Any reason why you don't want to use a META tag refresh to redirect?  That's
what I always use when I need the cookie to be set.

CFUG-SFL Manager
-Kev
/CFUG-SFL Manager

 -Original Message-
 From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 4:18 PM
 To: [EMAIL PROTECTED]
 Subject: Setting a Cookie and Redirecting the Browser


 Has anyone come up with a plausible way of setting a cookie and
 redirecting
 the browser from within a ColdFusion 4.01 template using HTTP headers (as
 opposed to META tag redirects)?

 Specifically, we're trying to redirect an image call from the browser. The
 image fails to load when it comes upon a HTTP "Refresh" header, and the
 "Location" header seems to negate the setting of the cookie.

 Benjamin S. Rogers
 Web Developer, c4.net
 voice: (508) 240-0051
 fax: (508) 240-0057

 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf
 _talk or send a message to [EMAIL PROTECTED] with
 'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Brandon Behrens

Been there, done that.  I wound up using a meta tag to refresh the page with
a time of 0.  That was the only way I could get it to work.

Brandon

Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com

-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Setting a Cookie and Redirecting the Browser

Has anyone come up with a plausible way of setting a cookie and redirecting
the browser from within a ColdFusion 4.01 template using HTTP headers (as
opposed to META tag redirects)?

Specifically, we're trying to redirect an image call from the browser. The
image fails to load when it comes upon a HTTP "Refresh" header, and the
"Location" header seems to negate the setting of the cookie.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Benjamin S. Rogers

We can't use a META refresh because the template is being called from an
image source. The ColdFusion template makes a few decisions and redirects to
the appropriate image.

-Original Message-
From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:31 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Any reason why you don't want to use a META tag refresh to redirect?  That's
what I always use when I need the cookie to be set.

CFUG-SFL Manager
-Kev
/CFUG-SFL Manager

 -Original Message-
 From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 4:18 PM
 To: [EMAIL PROTECTED]
 Subject: Setting a Cookie and Redirecting the Browser


 Has anyone come up with a plausible way of setting a cookie and
 redirecting
 the browser from within a ColdFusion 4.01 template using HTTP headers (as
 opposed to META tag redirects)?

 Specifically, we're trying to redirect an image call from the browser. The
 image fails to load when it comes upon a HTTP "Refresh" header, and the
 "Location" header seems to negate the setting of the cookie.

 Benjamin S. Rogers
 Web Developer, c4.net
 voice: (508) 240-0051
 fax: (508) 240-0057

 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf
 _talk or send a message to [EMAIL PROTECTED] with
 'unsubscribe' in the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Hinojosa, Robert

Just a thought...

You could CFHTTP the content of the desired forwarded page so that the
cookie can set.  I have done this once, a long time ago, and I remember it
working.

Hope this helps,

Robert Hinojosa
WebDeveloper
512.912.3775
[EMAIL PROTECTED]


-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Again, we can't use a META refresh. See either of my earlier posts for an
explanation as to why this solution will not work for us.

FYI: Adding the HTTP header "Refresh" with the cfheader works well instead
of the META refresh if you'd rather not have a page displayed at all. We
found that even with a time of 0 that the META refresh was still noticeable
because of connection and page rendering lags.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057

-Original Message-
From: Brandon Behrens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Been there, done that.  I wound up using a meta tag to refresh the page with
a time of 0.  That was the only way I could get it to work.

Brandon

Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com

-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Setting a Cookie and Redirecting the Browser

Has anyone come up with a plausible way of setting a cookie and redirecting
the browser from within a ColdFusion 4.01 template using HTTP headers (as
opposed to META tag redirects)?

Specifically, we're trying to redirect an image call from the browser. The
image fails to load when it comes upon a HTTP "Refresh" header, and the
"Location" header seems to negate the setting of the cookie.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Terry Bader

you can also use:
SCRIPTlocation="http://URL";/SCRIPT

this help?


Terry Bader
Web Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361
[EMAIL PROTECTED]   [EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 4:34 PM
 To:   [EMAIL PROTECTED]
 Subject:  RE: Setting a Cookie and Redirecting the Browser
 
 Been there, done that.  I wound up using a meta tag to refresh the page
 with
 a time of 0.  That was the only way I could get it to work.
 
 Brandon
 
 Brandon Behrens
 The Internet Design Firm
 512.451.5225
 [EMAIL PROTECTED]
 http://www.theidf.com
 
 -Original Message-
 From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 3:18 PM
 To: [EMAIL PROTECTED]
 Subject: Setting a Cookie and Redirecting the Browser
 
 Has anyone come up with a plausible way of setting a cookie and
 redirecting
 the browser from within a ColdFusion 4.01 template using HTTP headers (as
 opposed to META tag redirects)?
 
 Specifically, we're trying to redirect an image call from the browser. The
 image fails to load when it comes upon a HTTP "Refresh" header, and the
 "Location" header seems to negate the setting of the cookie.
 
 Benjamin S. Rogers
 Web Developer, c4.net
 voice: (508) 240-0051
 fax: (508) 240-0057
 
 --
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Benjamin S. Rogers

Were you able to do this with binary data (a.k.a an image)? We'd prefer not
to place the burden of the transaction on ColdFusion, but if it works, then
it's a solution.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057

-Original Message-
From: Hinojosa, Robert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 5:03 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Setting a Cookie and Redirecting the Browser


Just a thought...

You could CFHTTP the content of the desired forwarded page so that the
cookie can set.  I have done this once, a long time ago, and I remember it
working.

Hope this helps,

Robert Hinojosa
WebDeveloper
512.912.3775
[EMAIL PROTECTED]


-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Again, we can't use a META refresh. See either of my earlier posts for an
explanation as to why this solution will not work for us.

FYI: Adding the HTTP header "Refresh" with the cfheader works well instead
of the META refresh if you'd rather not have a page displayed at all. We
found that even with a time of 0 that the META refresh was still noticeable
because of connection and page rendering lags.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057

-Original Message-
From: Brandon Behrens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Been there, done that.  I wound up using a meta tag to refresh the page with
a time of 0.  That was the only way I could get it to work.

Brandon

Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com

-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Setting a Cookie and Redirecting the Browser

Has anyone come up with a plausible way of setting a cookie and redirecting
the browser from within a ColdFusion 4.01 template using HTTP headers (as
opposed to META tag redirects)?

Specifically, we're trying to redirect an image call from the browser. The
image fails to load when it comes upon a HTTP "Refresh" header, and the
"Location" header seems to negate the setting of the cookie.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Jake Hileman

That will still let you set the cookie?

Also, I'm using cookies for authentication.. once they are authenticated, it
sets the cookie and the other pages check for the cookie, if it's not there,
it sends them back.  Is this a safe way to do things?  The whole session,
application.cfm thing confuses me... and I don't like the idea of it being
stored in ram.

Let me know,

Jkae
- Original Message -
From: "Terry Bader" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 5:29 PM
Subject: RE: Setting a Cookie and Redirecting the Browser


 you can also use:
 SCRIPTlocation="http://URL";/SCRIPT

 this help?


 Terry Bader
 Web Developer
 EDO Corp - Combat Systems
 (757) 424-1004 ext 361
 [EMAIL PROTECTED]   [EMAIL PROTECTED]
 icq: 5202487   aim: lv2bounce
 http://www.cs.odu.edu/~bader





  -Original Message-
  From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
  Sent: Tuesday, August 08, 2000 4:34 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Setting a Cookie and Redirecting the Browser
 
  Been there, done that.  I wound up using a meta tag to refresh the page
  with
  a time of 0.  That was the only way I could get it to work.
 
  Brandon
 
  Brandon Behrens
  The Internet Design Firm
  512.451.5225
  [EMAIL PROTECTED]
  http://www.theidf.com
 
  -Original Message-
  From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, August 08, 2000 3:18 PM
  To: [EMAIL PROTECTED]
  Subject: Setting a Cookie and Redirecting the Browser
 
  Has anyone come up with a plausible way of setting a cookie and
  redirecting
  the browser from within a ColdFusion 4.01 template using HTTP headers
(as
  opposed to META tag redirects)?
 
  Specifically, we're trying to redirect an image call from the browser.
The
  image fails to load when it comes upon a HTTP "Refresh" header, and the
  "Location" header seems to negate the setting of the cookie.
 
  Benjamin S. Rogers
  Web Developer, c4.net
  voice: (508) 240-0051
  fax: (508) 240-0057
 

 --
  --
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
 

 --
  
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
 --

 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Hinojosa, Robert

There were images on the page.  I'm sure that you won't have any issues
requesting a single image.  It really isn't a burden if it's the cfhttp is
done locally.

Hope this helps,

Robert Hinojosa
WebDeveloper
512.912.3775
[EMAIL PROTECTED]


-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:28 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Were you able to do this with binary data (a.k.a an image)? We'd prefer not
to place the burden of the transaction on ColdFusion, but if it works, then
it's a solution.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057

-Original Message-
From: Hinojosa, Robert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 5:03 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Setting a Cookie and Redirecting the Browser


Just a thought...

You could CFHTTP the content of the desired forwarded page so that the
cookie can set.  I have done this once, a long time ago, and I remember it
working.

Hope this helps,

Robert Hinojosa
WebDeveloper
512.912.3775
[EMAIL PROTECTED]


-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Again, we can't use a META refresh. See either of my earlier posts for an
explanation as to why this solution will not work for us.

FYI: Adding the HTTP header "Refresh" with the cfheader works well instead
of the META refresh if you'd rather not have a page displayed at all. We
found that even with a time of 0 that the META refresh was still noticeable
because of connection and page rendering lags.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057

-Original Message-
From: Brandon Behrens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser


Been there, done that.  I wound up using a meta tag to refresh the page with
a time of 0.  That was the only way I could get it to work.

Brandon

Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com

-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Setting a Cookie and Redirecting the Browser

Has anyone come up with a plausible way of setting a cookie and redirecting
the browser from within a ColdFusion 4.01 template using HTTP headers (as
opposed to META tag redirects)?

Specifically, we're trying to redirect an image call from the browser. The
image fails to load when it comes upon a HTTP "Refresh" header, and the
"Location" header seems to negate the setting of the cookie.

Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Hinojosa, Robert

Secure/Unsecure???  Depends on what content you are serving up.  I
personally would not authenticate using cookies, because they can be easily
manipulated.  I use cookies for tracking purposes only and client/session
vars for mostly everything else.  If the content is "sensitive",  I would
really recommend switching to session variables.  If you are really
uncomfortable using these variables, you can continue using cookies, however
I would encrypt their loginID, either using something like
#CFusion_Encrypt('#theID#' , 'theKey')#, I prefer this encryption technique
rather than the Encrypt() function.  You can use what you like.

Hope this Helps,

Robert Hinojosa
WebDeveloper
512.912.3775
[EMAIL PROTECTED]
www.cirrus.com

-Original Message-
From: Jake Hileman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Setting a Cookie and Redirecting the Browser


That will still let you set the cookie?

Also, I'm using cookies for authentication.. once they are authenticated, it
sets the cookie and the other pages check for the cookie, if it's not there,
it sends them back.  Is this a safe way to do things?  The whole session,
application.cfm thing confuses me... and I don't like the idea of it being
stored in ram.

Let me know,

Jkae
- Original Message -
From: "Terry Bader" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 5:29 PM
Subject: RE: Setting a Cookie and Redirecting the Browser


 you can also use:
 SCRIPTlocation="http://URL";/SCRIPT

 this help?


 Terry Bader
 Web Developer
 EDO Corp - Combat Systems
 (757) 424-1004 ext 361
 [EMAIL PROTECTED]   [EMAIL PROTECTED]
 icq: 5202487   aim: lv2bounce
 http://www.cs.odu.edu/~bader





  -Original Message-
  From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
  Sent: Tuesday, August 08, 2000 4:34 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Setting a Cookie and Redirecting the Browser
 
  Been there, done that.  I wound up using a meta tag to refresh the page
  with
  a time of 0.  That was the only way I could get it to work.
 
  Brandon
 
  Brandon Behrens
  The Internet Design Firm
  512.451.5225
  [EMAIL PROTECTED]
  http://www.theidf.com
 
  -Original Message-
  From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, August 08, 2000 3:18 PM
  To: [EMAIL PROTECTED]
  Subject: Setting a Cookie and Redirecting the Browser
 
  Has anyone come up with a plausible way of setting a cookie and
  redirecting
  the browser from within a ColdFusion 4.01 template using HTTP headers
(as
  opposed to META tag redirects)?
 
  Specifically, we're trying to redirect an image call from the browser.
The
  image fails to load when it comes upon a HTTP "Refresh" header, and the
  "Location" header seems to negate the setting of the cookie.
 
  Benjamin S. Rogers
  Web Developer, c4.net
  voice: (508) 240-0051
  fax: (508) 240-0057
 

 --
  --
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
 

 --
  
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
 --

 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Terry Bader

this works for us:

CFCOOKIE NAME="xID" VALUE="#QueryName.Login_ID#"
CFINCLUDE TEMPLATE="redirect.cfm"



-
!---  redirect.cfm   
SCRIPTlocation="http://URL";/SCRIPT



alot of in between missing but we have this concept..


Terry Bader
Web Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361
[EMAIL PROTECTED]   [EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Jake Hileman [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 5:33 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Setting a Cookie and Redirecting the Browser
 
 That will still let you set the cookie?
 
 Also, I'm using cookies for authentication.. once they are authenticated,
 it
 sets the cookie and the other pages check for the cookie, if it's not
 there,
 it sends them back.  Is this a safe way to do things?  The whole session,
 application.cfm thing confuses me... and I don't like the idea of it being
 stored in ram.
 
 Let me know,
 
 Jkae
 - Original Message -
 From: "Terry Bader" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 08, 2000 5:29 PM
 Subject: RE: Setting a Cookie and Redirecting the Browser
 
 
  you can also use:
  SCRIPTlocation="http://URL";/SCRIPT
 
  this help?
 
 
  Terry Bader
  Web Developer
  EDO Corp - Combat Systems
  (757) 424-1004 ext 361
  [EMAIL PROTECTED]   [EMAIL PROTECTED]
  icq: 5202487   aim: lv2bounce
  http://www.cs.odu.edu/~bader
 
 
 
 
 
   -Original Message-
   From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
   Sent: Tuesday, August 08, 2000 4:34 PM
   To: [EMAIL PROTECTED]
   Subject: RE: Setting a Cookie and Redirecting the Browser
  
   Been there, done that.  I wound up using a meta tag to refresh the
 page
   with
   a time of 0.  That was the only way I could get it to work.
  
   Brandon
  
   Brandon Behrens
   The Internet Design Firm
   512.451.5225
   [EMAIL PROTECTED]
   http://www.theidf.com
  
   -Original Message-
   From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, August 08, 2000 3:18 PM
   To: [EMAIL PROTECTED]
   Subject: Setting a Cookie and Redirecting the Browser
  
   Has anyone come up with a plausible way of setting a cookie and
   redirecting
   the browser from within a ColdFusion 4.01 template using HTTP headers
 (as
   opposed to META tag redirects)?
  
   Specifically, we're trying to redirect an image call from the browser.
 The
   image fails to load when it comes upon a HTTP "Refresh" header, and
 the
   "Location" header seems to negate the setting of the cookie.
  
   Benjamin S. Rogers
   Web Developer, c4.net
   voice: (508) 240-0051
   fax: (508) 240-0057
  
 
 
 --
   --
   --
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
  
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
 or
   send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
   the body.
  
 
 
 --
   
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
  
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
 or
   send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
   the body.
 
 --
 
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread dougn

What about:

if cookie exists
do analysis to determine image
cflocation to image url
if cookie does not exist
do any analysis
cfcontent to distribute the image file

This puts a little more load on CF but realistically you're only shipping a
few k the first time from CF then the rest of the time from another source.

--Doug
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Jake Hileman

Good idea mate, very good idea actually.  I like that styleee.

hehe

jake
- Original Message -
From: "Terry Bader" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 6:04 PM
Subject: RE: Setting a Cookie and Redirecting the Browser


 this works for us:

 CFCOOKIE NAME="xID" VALUE="#QueryName.Login_ID#"
 CFINCLUDE TEMPLATE="redirect.cfm"



 -
 !---  redirect.cfm   
 SCRIPTlocation="http://URL";/SCRIPT



 alot of in between missing but we have this concept..


 Terry Bader
 Web Developer
 EDO Corp - Combat Systems
 (757) 424-1004 ext 361
 [EMAIL PROTECTED]   [EMAIL PROTECTED]
 icq: 5202487   aim: lv2bounce
 http://www.cs.odu.edu/~bader





  -Original Message-
  From: Jake Hileman [SMTP:[EMAIL PROTECTED]]
  Sent: Tuesday, August 08, 2000 5:33 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Setting a Cookie and Redirecting the Browser
 
  That will still let you set the cookie?
 
  Also, I'm using cookies for authentication.. once they are
authenticated,
  it
  sets the cookie and the other pages check for the cookie, if it's not
  there,
  it sends them back.  Is this a safe way to do things?  The whole
session,
  application.cfm thing confuses me... and I don't like the idea of it
being
  stored in ram.
 
  Let me know,
 
  Jkae
  - Original Message -
  From: "Terry Bader" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, August 08, 2000 5:29 PM
  Subject: RE: Setting a Cookie and Redirecting the Browser
 
 
   you can also use:
   SCRIPTlocation="http://URL";/SCRIPT
  
   this help?
  
  
   Terry Bader
   Web Developer
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361
   [EMAIL PROTECTED]   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader
  
  
  
  
  
-Original Message-
From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Setting a Cookie and Redirecting the Browser
   
Been there, done that.  I wound up using a meta tag to refresh the
  page
with
a time of 0.  That was the only way I could get it to work.
   
Brandon
   
Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com
   
-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Setting a Cookie and Redirecting the Browser
   
Has anyone come up with a plausible way of setting a cookie and
redirecting
the browser from within a ColdFusion 4.01 template using HTTP
headers
  (as
opposed to META tag redirects)?
   
Specifically, we're trying to redirect an image call from the
browser.
  The
image fails to load when it comes upon a HTTP "Refresh" header, and
  the
"Location" header seems to negate the setting of the cookie.
   
Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057
   
  
  

 --
--
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
   
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
  or
send a message to [EMAIL PROTECTED] with
'unsubscribe'
  in
the body.
   
  
  

 --

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
   
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
  or
send a message to [EMAIL PROTECTED] with
'unsubscribe'
  in
the body.
  

 --
  
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
  
 

 --
  
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or
  send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
  the body.
 --

 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or