Re: Problem with Session Variable



Venki,

could you post your code. This would make it much easier to help you!
Nevertheless from what you write it seems to me that you want to write your
onw authentication code. Check out the authentication part of your web
config. You can get a first impression by reading
http://www.15seconds.com/issue/020220.htm

Does this help?

Best regards

Daniel Walzenbach


"vvenk" <vvenk@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:42BD89AE-70B0-408C-A3F2-AE6875A4D8E5@xxxxxxxxxxxxxxxx
> Hello:
>
> This was posted in a wrong forum; that's why I am posting here again.
> Sorry.
>
> I just wrote my first ASP.Net application, tested it on my development
> environment and deployed it on a production server. That's when I
> encountered
> a problem. The anonymous access is turned of and Integrated Windows
> Authentication is turned on.
>
> In my Global.ASCX, I have coded the Session_Start event
> 1. I read Request.ServerVariables("Auth_User")
> 2. Save it as a variable, userid, in the session variable.
>
> Here is the problem:
>
> 1. User A signs in and the screen shows that the userid is "User A".
> 2. User B signs in through another workstation and his user ID shows
> "User
> A" when in fact it should show "User B".
>
> I thought the session is private to the user?
>
> I got feedback that I should not do anything in Global. Also, setting
> session variables in the Session_start event is loopy!
>
> Can somebody tell me what I am doing wrong?
>
> Venki
>


.



Relevant Pages

  • Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?
    ... I am converting an ASP Website running Windows NT 4.0 to ASP.NET running ... The ASP.NET site N uses Forms Authentication and has the user enter a UserID ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: OWA logon issue - Browser not authentication-capabke...
    ... when i try to logon to exchange server mailbox remotely ... userid and password. ... authentication-capable or authentication failed". ... to ensure that port 443 is open/forwarded inbound to your SBS server's LAN ...
    (microsoft.public.exchange.clients)
  • Re: When exactly are you logged in? (Forms authentication)
    ... Actually, I think you can, eg using the mobile internet stuff ... FormsAuthentication doesn't let you just redirect with the authentication ... and checking for it in the global.asax "Global_AcquireRequestState" handler ... The 'cost' would be two session variables per user - ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Weird OWA Problem
    ... Assuming you are using form based authentication, ... for the userid? ... domain\userid or upnid has to be used under form ... I went back into the server and even reset passwords thinking that was the ...
    (microsoft.public.windows.server.sbs)
  • Re: ASP Login / Database Help.
    ... I'm guessing you have a userID or loginID table in ... Session variables hog server ... memory and need to be timed out to stop the server running out of memory. ...
    (microsoft.public.inetserver.asp.db)

Loading