RE: JS, http_referer and browser hell...

2001-06-27 Thread Christian L. Watt

Any reason why you couldn't just pass a varible with the URL and then check
for its existance on the new page???

Window.Open('http://www.yoursite.com/page.cfm?checked=yes')

Opened Page:
cfif IsDefined(checked)
!--show the page--
Else
!--redirect or show custom error--
cfif

Hope this helps!!

Christian

-Original Message-
From: James Medlin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 4:57 PM
To: CF-Talk
Subject: Re: JS, http_referer and browser hell...



Hi Martin -

I saw your post on the CF-Talk list.  We're having this exact same problem.
Unfortunately, I didn't see any replies to your question on the list.  Did
you find a solution?

Thanks!

James


- Original Message -
From: Martin Cadirola [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, December 21, 2000 11:42 PM
Subject: JS, http_referer and browser hell...


 Hello there!

 I'm using a window.open() javascript function to pop up a window. These
 new window needs to be bookmark safe, so that I'm doing a
 cgi.http_referer check to allow viewing for only those users who logged
 in to the site first.

 Using Netscape, this thing works just fine. Of course, if I use IE, it
 goes kaboom: the http_referer variable gets lost when the page is called
 with this javascript command.

 I'd prefer avoiding session variables. So I thought of checking with you
 guys for feedback.

 I'd appreciate any suggestions. Thanks soo much!

 Cheers,


 Martin


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: JS, http_referer and browser hell...

2001-06-26 Thread Tim Bahlke

I am having the opposite problem. I can read http_referer in IE but not in NN - in a 
frameset.

-- Tim Bahlke

 - Original Message -
 From: Martin Cadirola [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, December 21, 2000 11:42 PM
 Subject: JS, http_referer and browser hell...
 
 
  Hello there!
 
  I'm using a window.open() javascript function to pop up a 
 window. These
  new window needs to be bookmark safe, so that I'm doing a
  cgi.http_referer check to allow viewing for only those 
 users who logged
  in to the site first.
 
  Using Netscape, this thing works just fine. Of course, if I 
 use IE, it
  goes kaboom: the http_referer variable gets lost when the 
 page is called
  with this javascript command.
 
  I'd prefer avoiding session variables. So I thought of 
 checking with you
  guys for feedback.
 
  I'd appreciate any suggestions. Thanks soo much!
 
  Cheers,
 
 
  Martin
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: JS, http_referer and browser hell...

2001-06-26 Thread Marian Dumitrascu



Hi,

IE will never be convinced to set HTTP_REFERER from a window.open() call.
But you can do this trick:

A HREF=popupWindow.cfm
TARGET=WINDOWNAME
ONCLICK=window.open('popupWindow.cfm', 'WINDOWNAME',
'resizable,scrollbars=1,menubar=0,width=400,height=300');return
true;popup/A

use ONCLICK  event and then use the same name for TARGET and window name,
and of course the same page to be opened.
This is working in both IE 5 and NS

HTH
-Marian Dumitrascu


GYRATE Internet Solutions
242 West 30th Street
14th FL
New York, NY 10001
PH: 212-695-6010 Ext. *827
FX: 212-695-5922
http://www.gyrate.com

 -Original Message-
 From: James Medlin [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 21, 2001 5:57 PM
 To: CF-Talk
 Subject: Re: JS, http_referer and browser hell...



 Hi Martin -

 I saw your post on the CF-Talk list.  We're having this exact
 same problem.
 Unfortunately, I didn't see any replies to your question on the list.  Did
 you find a solution?

 Thanks!

 James


 - Original Message -
 From: Martin Cadirola [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, December 21, 2000 11:42 PM
 Subject: JS, http_referer and browser hell...


  Hello there!
 
  I'm using a window.open() javascript function to pop up a window. These
  new window needs to be bookmark safe, so that I'm doing a
  cgi.http_referer check to allow viewing for only those users who logged
  in to the site first.
 
  Using Netscape, this thing works just fine. Of course, if I use IE, it
  goes kaboom: the http_referer variable gets lost when the page is called
  with this javascript command.
 
  I'd prefer avoiding session variables. So I thought of checking with you
  guys for feedback.
 
  I'd appreciate any suggestions. Thanks soo much!
 
  Cheers,
 
 
  Martin
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: JS, http_referer and browser hell...

2001-06-22 Thread James Medlin


Hi Martin -

I saw your post on the CF-Talk list.  We're having this exact same problem.
Unfortunately, I didn't see any replies to your question on the list.  Did
you find a solution?

Thanks!

James


- Original Message -
From: Martin Cadirola [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, December 21, 2000 11:42 PM
Subject: JS, http_referer and browser hell...


 Hello there!

 I'm using a window.open() javascript function to pop up a window. These
 new window needs to be bookmark safe, so that I'm doing a
 cgi.http_referer check to allow viewing for only those users who logged
 in to the site first.

 Using Netscape, this thing works just fine. Of course, if I use IE, it
 goes kaboom: the http_referer variable gets lost when the page is called
 with this javascript command.

 I'd prefer avoiding session variables. So I thought of checking with you
 guys for feedback.

 I'd appreciate any suggestions. Thanks soo much!

 Cheers,


 Martin


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



JS, http_referer and browser hell...

2000-12-21 Thread Martin Cadirola

Hello there!

I'm using a window.open() javascript function to pop up a window. These
new window needs to be "bookmark safe", so that I'm doing a
cgi.http_referer check to allow viewing for only those users who logged
in to the site first.

Using Netscape, this thing works just fine. Of course, if I use IE, it
goes kaboom: the http_referer variable gets lost when the page is called
with this javascript command. 

I'd prefer avoiding session variables. So I thought of checking with you
guys for feedback.

I'd appreciate any suggestions. Thanks soo much!

Cheers,


Martin

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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