Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 August 1st, 2003, 01:57 PM
Authorized User
 
Join Date: Jun 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing User Credentials in Web Services

I have two virtual directories (VD). Both have anonymous access disabled and window's integrated authentication on. I need a user to authenticate into one VD and then do a web service call to the other VD. I need the web service call to carry the users credentials from the first VD to the second so the user can authenticate there as well. I can make this work on two VDs on the same server if I include the following code, but not when VDs are on different servers.

oProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

Can anyone tell me why I can't get the credentials to pass on? I always get an access denied error from the second VD.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing page menu based on user credentials Balaji1979 ASP.NET 2.0 Professional 0 May 22nd, 2008 06:31 AM
Passing credentials from one site to another gware ASP.NET 2.0 Basics 9 May 21st, 2007 09:40 AM
When to employ web services vs. user controls? VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 March 9th, 2006 06:53 PM
Passing as object as a Param to a Web User Control MixedCode General .NET 2 December 8th, 2004 11:36 AM





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