473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

.NET application switching users (user A is shown user B profile)

I have a serious problem in .NET currently. I am hoping somebody out there
can help me.

I have a ASP.NET application written in VB.NET and requires the user to log
in. I authenticate user using LDAP, so if the user id is active in our
company NT network he/she can log in with her/his user id/password.

Now first John Smith logs in, using the application, then there is a welcome
header that says 'Welcome John Smith'. Then Jane Jones logs in with her user
id/password, but she sees the welcome header as 'Welcome John Smith' !!! So,
here John smith's session is shared by Jane which is neither expected nor
wanted.

I wonder if it is proxy server doing this mischief.

How do I avoid this, please please help.

Thank you,
Bhaskar
--
Bhaskar

"...fear is the path to the darkside, fear leads to anger, anger leads to
hate, hate leads to suffering..."
-- Master Yoda, Jedi Master

Dec 10 '05 #1
1 1207
a coding error on your part. you are storing login info in a vb module, or a
shared (static) variable. these are shared acoss all page instances, you its
always the last value set.

-- bruce (sqlwork.com)
"Bhaskar" <Bh*****@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
I have a serious problem in .NET currently. I am hoping somebody out there
can help me.

I have a ASP.NET application written in VB.NET and requires the user to
log
in. I authenticate user using LDAP, so if the user id is active in our
company NT network he/she can log in with her/his user id/password.

Now first John Smith logs in, using the application, then there is a
welcome
header that says 'Welcome John Smith'. Then Jane Jones logs in with her
user
id/password, but she sees the welcome header as 'Welcome John Smith' !!!
So,
here John smith's session is shared by Jane which is neither expected nor
wanted.

I wonder if it is proxy server doing this mischief.

How do I avoid this, please please help.

Thank you,
Bhaskar
--
Bhaskar

"...fear is the path to the darkside, fear leads to anger, anger leads to
hate, hate leads to suffering..."
-- Master Yoda, Jedi Master

Dec 10 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
0
by: deploying visual basic .net application | last post by:
Hi There, I'm trying to create a setup for a Windows application to install my application I developed using Visual basic .net. I'm using Visual Studio .net Professional. When I use the Set up...
13
by: Dennis C. Drumm | last post by:
I use the Documents and Settings\All Users\Application Data\AppName folder to store xml settings that are applicable to all user who log onto a machine. (The uers personal settings associated with...
2
by: oliverleach | last post by:
Hi, Firstly I am not a programmer. I'm a support engineer implementing technical projects. I have a question which hopefully someone will be able to help answer this for me. We are using a...
0
by: Shem | last post by:
I have a web app which is set-up to use the SQLProfileProvider model and the site needs to be deployed in two seperate locations (Site1 & Site2). Now if the user logs into Site1 a profile will be...
1
by: Mike | last post by:
Hi: I have been trying to create a web application that provides suport for two membership/profile databases: one for private users and one for another set of users. These tw user have a...
9
by: Alex | last post by:
Get the Name and Phone Number of the Current Windows User in a .NET Application I am writing a simple .NET (C#) application. It needs to "automatic" get the Name (last, first) and phone number...
1
by: kpg* | last post by:
Hi all, Trying to use the ASP.NET 2.0 membeship API to manage users and user profiles, and of course, to provide role based security to my web app. I have several attributes I want to users,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.