Using Sessions with Windows Authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Using Sessions with Windows Authentication

    I'm using Windows Auth!
    And i'm validating against a Datastore which is Active Directory.But i
    want to use session to capture the USER LOGON between trips to the web
    server.
    What i want to do is to capture a particular USER LOGGED so that they
    can see different settings on my ASP.NET page
    Any ideas?




    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    naija naija Guest

  2. Similar Questions and Discussions

    1. sessions and forms authentication tickets
      When implementing ASP.NET forms authentication everything worked out just fine. I wanted to add the UserID and UserFName to my usage so I would...
    2. Windows 98 and TS sessions
      We have a Windows 2003 server with Terminal server running. We have several Windows 98se machines that connect using RDP 5.1/2 client. None of...
    3. Forms authentication with Windows authentication
      Hi, I have an ASP.NET web site that uses IIS Basic Authentication and accesses an OLAP Server at various stages. The OLAP Server authentication...
    4. Sessions, authentication, files and functions...
      Hi... I'm writing a website builder. There are two 'halves' of it, codewise: The admin pages and the public pages. I intend to use sessions to...
    5. Sessions, authentication and $_SERVER
      I'm trying to understand sessions and authentication. I gathered that the only way of preserving data across script invocations was to use a...
  3. #2

    Default Re: Using Sessions with Windows Authentication

    You don't need to use session for this. With Windows authentication,
    Context.User will contain an IPrincipal object with the user's information
    in it. The Identity.Name will have the Windows user name of the user who
    logged in.

    Joe K.

    "naija naija" <patrick.ige@crazyjohns.com.au> wrote in message
    news:O4QTZawtEHA.1176@TK2MSFTNGP11.phx.gbl...
    > I'm using Windows Auth!
    > And i'm validating against a Datastore which is Active Directory.But i
    > want to use session to capture the USER LOGON between trips to the web
    > server.
    > What i want to do is to capture a particular USER LOGGED so that they
    > can see different settings on my ASP.NET page
    > Any ideas?
    >
    >
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Joe Kaplan \(MVP - ADSI\) Guest

  4. #3

    Default Re: Using Sessions with Windows Authentication

    Yeah i know that!
    But i want to pass the Identity.Name that is logged in to a SQL server
    or to somewhere else..
    Like the way we do with sessions?





    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    naija naija Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139