Solved

Partial Success with Forms Authentication Single Sign On

Posted on 2011-03-11
2
574 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

696 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