if it's simply for debugging purposes, you can simply change the value in
the debugger. You'd have to do it for every debugging session but it's a
quick fix
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @
www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"Ben Fidge" <Be******@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
I'm working on an application that does a load of processing on
Session_Start if a new session is started having come from a particular
referrer. To determine this I use Request.UrlReferrer.
How can I debug this code on my local machine? Is there a way to emulate a
new session being started via a redirect from a referrers URL? Possibly by
having another local app pass something in the HTTP headers to my main
app?
Thanks
Ben