473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to provide credentials to a web app from an external web app?

Hi,

The scenario:
- A user logs on to web app 1;
- The user clicks on a button that redirects him/her to web app 2.

The problem:
- The user is presented with a login page.

The question:
- How to programmatically provide the user's credentials to web app 2
before connecting to it?

I am using ASP.NET and C# 2.0 to develop both web apps.
The authentication method for both web apps is Forms.

Thanks,
Ray

Feb 9 '07 #1
1 982
Is this on a single server ? Not tried myself but I remember to have seen
this.

Try :
http://msdn2.microsoft.com/en-us/library/eb0zx8fc.aspx
<rp**@sapo.pta écrit dans le message de news:
11**********************@q2g2000cwa.googlegroups.c om...
Hi,

The scenario:
- A user logs on to web app 1;
- The user clicks on a button that redirects him/her to web app 2.

The problem:
- The user is presented with a login page.

The question:
- How to programmatically provide the user's credentials to web app 2
before connecting to it?

I am using ASP.NET and C# 2.0 to develop both web apps.
The authentication method for both web apps is Forms.

Thanks,
Ray

Feb 9 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Angelo Vargheese | last post by:
Hi, I am trying to retrieve XML created by ASP pages on different servers and display them on a single ASP.Net page. I was planning to use the XMLDocument and XMLResolver objects like below: ...
3
by: JM | last post by:
Hi Is there a way to invoke an external program in C# with Administrator credentials? You know run an external VBS or batch? Any reference material would be useful. TIA
7
by: Dennis C. Drumm | last post by:
I would like to be able to update an xml file located on my hosted server from my local computer. The server requires a user name and password to access the web site for writing or updating...
4
by: Grind Boy | last post by:
Hi, I'm writing this off the top of my head as I don't have the exact information to hand. We are attempting to set up a secure internet site using ASP.NET on IIS5. We are having some...
2
by: cindy.fisher | last post by:
I am using DownloadFile() on a C# web app to download a file to a client. When I set the WebClient credentials to the DefaultCredentials, I get a 401 Unauthorized exception. WebClient myWC = new...
3
by: Wild Wind | last post by:
Hello, I have an application which calls a web service across the Internet from a client machine. The site that I have deployed the application to is such that to browse the Internet using a...
3
by: Jarrod Morrison | last post by:
Hello all Is it possible to use Impersonation from inside a windows service to impersonate the logged on user without supplying any credentials and launching a program as that user ? My problem...
0
by: cbtg2006 | last post by:
HI guys, I'm relatively new to the .net development realm. I am creating an application in vb.net to monitor services on remote servers. The application works great when I am logged in and...
5
by: =?Utf-8?B?SmltbWVy?= | last post by:
Hello, I've been trying to create a WCF SOAP Router Service that can forward not just the message body but also any security headers set by the originator of the message. The destination service...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.