I believe you misunderstood what I was saying --- I understood from your earlier post that it would work when called as a webservice from some other page but not on the webservice test page (which should be disabled by default anyway in asp.net 1.1)
Andrew Baudouin Applications Programmer Information Technology Department AWC Inc -----Original Message----- From: Manuel Patrone [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 8:43 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Page or WebService? Andrew, <snip> You don't need it to necessarily work when called from the test page though? </snip> True! Altough a bit difficult to distinguish... how would you propose to determine that you're running under the test page? But the main problem is....I would like to avoid having different code for development/production at all costs! I would rather parse the raw URL :-) Rgds, MP =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
