Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2005, 07:17 PM
Authorized User
 
Join Date: May 2005
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

 
Old September 3rd, 2005, 09:04 PM
Authorized User
 
Join Date: Jul 2005
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
 
Old September 5th, 2005, 09:31 AM
Friend of Wrox
 
Join Date: Jun 2003
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





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





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