Solved

Partial Success with Forms Authentication Single Sign On

Posted on 2011-03-11
2
563 Views
Last Modified: 2012-05-11
I have the second web app not calling up the Login.aspx page when the first web app is signed on properly, so that's progress.  (Please see attached code for web.config)

The problem I have is that when I close the first application, I need the cookie deleted so refresh calls up the login screen on the second application.  Also, the cookie nener goes away and the second web app can be started and restarted without a login.

I know the lont timeout is a factor, but I do not want to wait even one minute (the minimum) before blocking access from the second site.  Once he first site is closed I want access blocked immediately from the second site.

Any ideas?

newbieweb


<forms cookieless="UseCookies"
             loginUrl="~/Account/LogOn" 
             name=".ASPXFORMSAUTH" 
             protection="All" 
             defaultUrl="~/" 
             slidingExpiration="true" 
             timeout="50000" />

    </authentication>
    <machineKey
          validationKey="C50B3C89CB21F4F1422FF158A5B42D0E8DB8CB5CDA1742572A487D9401E3400267682B202B746511891C1BAF47F8D25C07F6C39A104696DB51F17C529AD3CABE"
          decryptionKey="8A9BE8FD67AF6979E7D20198CFEA50DD3D3799C77AF2B72F"
          validation="SHA1" />

Open in new window

0
Comment
Question by:newbieweb
2 Comments
 
LVL 13

Accepted Solution

by:
agarwalrahul earned 500 total points
ID: 35114340
0
 

Author Closing Comment

by:newbieweb
ID: 35137530
Thanks.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now