Re: Problem with Session Variable
- From: "Daniel Walzenbach" <daniel.walzenbach@xxxxxxxxxxxxxxxx>
- Date: Sat, 5 Nov 2005 03:48:53 +0100
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
>
.
- Prev by Date: Re: Am I missing something
- Next by Date: Client gives page cannot be displayed
- Previous by thread: Re: Opening MS WORD document from database
- Next by thread: Client gives page cannot be displayed
- Index(es):
Relevant Pages
|
Loading