Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 3rd, 2005, 07:17 PM
Authorized User
 
Join Date: May 2005
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Request.UrlReferrer.ToString()

The code in the book relies on the Request.UrlReferrer.ToString() line working. However, it seems that quite a few anti-virus software packages such as Norton throw an exception whenever you try to get the UrlReferrer. Does anybody know a way around this, other than disabling your anti-virus software?


Cheers,

Mike

  #2 (permalink)  
Old September 3rd, 2005, 09:04 PM
Authorized User
 
Join Date: Jul 2005
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually you don't need to disable whole Norton Internet Security. You can just disable Privacy Control in Norton. You can still leave your pesonal firewall and antivirus on. Then the web project will run without problem.

However, I only test it on my local machine and don't know what will happen if we publish the project to hosting company and user's client machine installed Privacy Control. If it dose have a problem, we have to handle it in code to prevent it.

Hope this helps!

Gary
  #3 (permalink)  
Old September 5th, 2005, 09:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is being done on the server, so it shouldn't cause a problem for a hosted site. The request packet is sent from the client to the server, and you can examine this on the server to find out who referred the user to your site.

By the way, hosted sites usually have a ton of free reports to help you analyze this kind of data - including barcharts, etc. It's not likely that you need to do this yourself unless you are hosting the site on your own server.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why would you override ToString()? chobo2 C# 2008 aka C# 3.0 16 November 11th, 2008 11:01 PM
Problem with Request.urlreferrer property rajatake ASP.NET 2.0 Professional 1 October 4th, 2007 03:40 AM
toString() praveena Java Basics 3 March 20th, 2006 10:52 PM
ASP.NET Website Programming & Request.UrlReferrer mike72 Wrox Book Feedback 0 September 3rd, 2005 07:16 PM
Problem with Request.UrlReferrer.ToString velateam .NET Framework 2.0 0 April 5th, 2005 08:22 AM



All times are GMT -4. The time now is 02:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.