Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

URL Redirect Capture

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA 2006 Misc.] >> ISA 2006 Programming >> URL Redirect Capture Page: [1]
Login
Message << Older Topic   Newer Topic >>
URL Redirect Capture - 18.Nov.2008 1:55:19 PM   
bigtallim

 

Posts: 4
Joined: 6.May2005
From: United States
Status: offline
ISAServer 2006 on Windows 2003 R2

I have an extensive list of domains that I block, I have named this domain set: "unproductive".  In the properties of the "unproductive" rule that denies access the domain set "unproductive" I redirect the client URL to a denied.asp page that I host on my server.

Question:  I would like to allow the clients the ability to click a button when on the denied.asp site, and ask for permission (if applicable) to the denied site.  Along with a textbox containing the reason that the site is a viable website for business.

Once the url is redirected, I am unable to pull the old url out of the browser's (IE7) API.  Is there another option to add to .asp code that finds the url that was denied when the user came into the denied.asp page?

Thanks in advance for your help. 
Post #: 1
RE: URL Redirect Capture - 19.Nov.2008 2:23:37 AM   
ferrix

 

Posts: 375
Joined: 16.Mar.2005
Status: offline
I don't understand what you mean about using the "browser API".  The original URL, if it is available, would be in the "Referer" header of the request that hits your ASP page.  But from memory I don't know if the browser populates this value meaningfully upon a redirect.

Instead of using the built-in ISA deny, you could do this with an IsaScript.  The idea would be to save the original URL as a query string parameter that you send to your redirect target (ASP page).

(in reply to bigtallim)
Post #: 2
RE: URL Redirect Capture - 20.Nov.2008 2:40:03 PM   
fixitchris

 

Posts: 134
Joined: 23.May2007
Status: offline
The URL referrer is indeed empty since the page is redirected by ISA.  

(in reply to ferrix)
Post #: 3

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA 2006 Misc.] >> ISA 2006 Programming >> URL Redirect Capture Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts