forms authentication across multiple web servers

From: Roel (roel_at_pandora.be)
Date: 11/24/05


Date: Thu, 24 Nov 2005 15:18:20 +0100

Hi,

I want to provide a single sign on for 2 web applications hosted in
different environments.
I set the machinekey to the same value in both web.config files (also i set
them to the same value in the machine.config files). The <authentication
mode="Forms" > section is exactly the same in both applications:

 <authentication mode="Forms" >
   <forms name=".EuphAc" loginUrl="Main/loginForm.aspx" protection="All"
timeout="60" />
 </authentication>

The only time this works is if I do it on the same physical machine: 2 web
applications sharing the same machinekey in web.config section and
<authentication mode="Forms" > section.

If I try the same moving application 2 to another server (including the
web.config file which stays the same), or to localhost, I can login on one
system but it does not login on the other system.

(Strange thing was it sometimes seemed(!) that it worked but after 1 second
it redirected me back to the login page.)

I hope I'm somewhat clear.....

What am I doing wrong ?

Any help much appreciated!

Roel



Relevant Pages

  • Re: linux to unix
    ... becuase I only can login and use my applications. ... we can migrate our clients to linux. ... I have found that several SCO Unix text mode applications ...
    (alt.os.linux)
  • Strange Startup Slow Networking Behavior
    ... I am recently experiencing a strange problem during startup on my system. ... Login begins and Windows ... Applications such as Word 2003, Word Pad, ... occurred in safe mode with networking as well. ...
    (microsoft.public.windowsxp.help_and_support)
  • RE: Authentication Ticket Persistance
    ... applications which both use forms authentication. ... web.config that points the login page to the login page of the second ... The second application has one button which gets the cookie, ... My sample worked fine if both web applications were on the same machine ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • 1 login for 2 separate secure apps on the same server - is this possible?
    ... I have two secure applications that reside on the same server. ... able to login to the first application, then when I have found the ... all the necessary rights for that user. ... to make this object arrangement work between the two apps. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: [opensuse] openSUSE 10.3 and system maintenence processes
    ... applications are doing. ... This will disable online update from running every time you ... login and stop the automaitc refresh of all repositories. ... Depending on whether you use Beagle search index, ...
    (SuSE)