How do I call a web site from a winform app without having to log in again?

From: tom rageley (trageley_at_hotmail.com)
Date: 07/29/03


Date: 28 Jul 2003 19:48:26 -0700


Hi,

Can someone tell me how I would go about calling a web application
that uses forms authentication from a winform application where the
user has already been authenticated? I'd like to insert their
credentials into a cookie in the same fashion as if they'd been
authenticated by the web site rather than the winform application.
Can I just set up the cookie and make the request to the desired URL?

Thanks in advance,
Tom Rageley



Relevant Pages

  • RE: Authentication Ticket Persistance
    ... code running on login.xyz.net actually writes the authentication cookie, ... then checks the domain of the ReturnURL from the calling application ... Upon receiving your response, I decided to research the issue further. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Deny access to htm files
    ... How long are you persisting the cookie for Forms Authentication. ... Try calling FormsAuthentication.Signoutin the initial Page_Load before ... as far as requiring them to login. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: WinForm user authentication
    ... IIdentity caller = ... custom authentication in a WinForm application? ... I have a WinForm application with a login screen. ...
    (microsoft.public.dotnet.security)
  • Re: WinForm user authentication
    ... You should use the GenericIdentity and GenericPrincipal objects for that. ... authentication in a WinForm application? ... I have a WinForm application with a login screen. ... CustomPrincipal class, I'm just missing how to say, "Yes, this user is ...
    (microsoft.public.dotnet.security)
  • WinForm user authentication
    ... Can someone point me in the right direction for finding out how to do custom ... authentication in a WinForm application? ... I have a WinForm application with a login screen. ... useful information. ...
    (microsoft.public.dotnet.security)