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 soooooo 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

Reply via email to