Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design 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 January 12th, 2007, 04:16 PM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default FormsAuthentication

Hello,

Can a Web Site authenticate users by using FormsAuthentication cookie issued by another Web Service?

My Windows App calls a Web Service for the user authentication, and the Web Service issues a FormsAuthentication cookie.
The Windows App has a Web browser control which deals with a Web Site and the Web Site needs to read the FormsAuthentication cookie.

The Web Site and Web Service have same URLs: myWeb.com and myWeb.com/Services

I'm wondering if this scenario is possible because I've heard that Web Service has a different cookie container than the Web page calls.

Thank you,
Jong-Hyun

 
Old January 16th, 2007, 05:42 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You are right. The calling context is different.

The only way I can think of doing this is to put the browser window at a URL with authentication information. Some kind of unique authentication token that results in an "auto-login".

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
FormsAuthentication swifty_programmer ASP.NET 2.0 Basics 0 August 24th, 2007 05:53 AM
FormsAuthentication Class g2000 ASP.NET 2.0 Basics 2 November 24th, 2005 01:43 AM
FormsAuthentication not declared! Renu ASP.NET 1.0 and 1.1 Basics 2 October 6th, 2004 10:29 AM
FormsAuthentication.RedirectFromLoginPage shaileshmark General .NET 5 August 19th, 2004 05:17 PM
FormsAuthentication Class alyeng2000 ASP.NET 1.0 and 1.1 Basics 7 March 3rd, 2004 02:19 AM





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