473,396 Members | 2,057 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,396 software developers and data experts.

Credentials from one web service to the other (Single sign-on)

Hello,

Summary : .NET 3.5 , calling 2 webservices, trying to pass credentials
from one webservice to another (single sign-on).

Details :
I have a webservice that I use to log in to my system. It is form Auth
so my webservice generates a cookie for me :

WebMethod()
Sub Login(username, password)
FormsAuthentication.SetAuthCookie(strUsername, False)
end sub
From my client, I used to take the cookies from one webservice and
pass it to the other through the CookieContainer. It used to work like
a charm with WebReferences, but not with ServiceReferences.

What is the technique to use with ServiceReferences?

Thanks,

Alex
Jun 27 '08 #1
0 743

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

Similar topics

1
by: Scott McChesney | last post by:
Folks - We are running around and around here on a project we're developing, and I'm getting to the point that I don't know what I do and don't know. So I need some assistance. We are...
20
by: Keith G. Murphy | last post by:
I'm trying to get a feel for what most people are doing or consider best practice. Given a mod_perl application talking to a PostgreSQL database on the same host, where different users are...
1
by: Pony Tsui | last post by:
Hi All, i had two .net 2.0 websites, but i don't know how to login one websites, then open or redirect another website without signin again? anyone can help me? Thanks -- Pony Tsui
2
by: beachboy | last post by:
any method for the single sign-on? pls advise the solution.. Thanks in advanced.
0
by: dba123 | last post by:
I put this into our code-behind so that the 3rd party app we're trying to implement single sign-on with can see the cookie HttpCookie cookie = new HttpCookie("CHEFS.COM.AUTH"); cookie.Domain =...
2
by: draina | last post by:
Is there a way in Javascript through which we can get the userid and password of the logged in user of the windows 2000/2003? Actually, I have a web application and I need a single signon kind of...
0
by: ginkim | last post by:
I'm trying to create a window services using C#. I would like my Window Service to run under the logged-in user instead of Local Systems. In my code I have ...
4
by: c_shah | last post by:
I have a web application developed in ASP.net 2.0. I have to use SQL server authentication (Our outside hosting company only allows sql authentication) Inside that web application I have a web...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
0
by: coolatt | last post by:
Hi All, I have some some web applications (Roundcube Webmail, phpBB forum & Wiki) which i want to integrate into a CMS like Drupal or Joomla. All the web applications run on the same server and...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.