« Previous Next »

Thread: Caching authentication information in a custom HttpModule

Last post 03-10-2009 5:20 PM by Adduce. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-10-2009, 5:04 PM

    • Adduce
    • Not Ranked
    • Joined on 05-19-2006, 5:36 PM
    • Posts 3

    Caching authentication information in a custom HttpModule

    Locked Reply Contact

    Hello all,

    I have created a class that implements IHttpModule and is subscribed to the AuthenticateRequest event. So far, it seems to work well. However, I am in search of a way to cache the authentication information. As implemented, it re-authenticates the user with each request. I could manage state manually, but I would much rather leverage IIS or ASP.

    Thanks in advance!

  • 03-10-2009, 5:11 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Caching authentication information in a custom HttpModule

    You are in the wrong forum.  This forum is about feedback for the iis.net site itself.

    As for your question, depends on how you want the caching to happen, do you want to base it off a cookie, client-ip,  tcp/ip connection etc?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 03-10-2009, 5:20 PM In reply to

    • Adduce
    • Not Ranked
    • Joined on 05-19-2006, 5:36 PM
    • Posts 3

    Re: Caching authentication information in a custom HttpModule

    Sorry about that; not sure how it happened. I've reposted this in the "IIS7 - Extensibility" forum.

Page 1 of 1 (3 items)
Microsoft Communities