473,624 Members | 2,302 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Users Login

I'm running an asp.net application where the users will login to view the
city maps. Every user will be assigned a different city map. So If user x
login, he will see only mapx. But the problem is ...

I open the page and login as x and I'm able to see the map correctly. I will
keep that page as it is and open a new page and login as y, but now I'm
seeing x's map. What could be the problem?
Thanks
Steven
Nov 19 '05 #1
4 1056
I suspect you're testng form the same client machine and you local browser
is just using the most recent authentication cookie issued.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I'm running an asp.net application where the users will login to view
the city maps. Every user will be assigned a different city map. So If
user x login, he will see only mapx. But the problem is ...

I open the page and login as x and I'm able to see the map correctly.
I will keep that page as it is and open a new page and login as y, but
now I'm seeing x's map. What could be the problem?

Thanks
Steven


Nov 19 '05 #2
Yep! you are right and how can I resolve this issue?

- Steven

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:40******** **************@ msnews.microsof t.com...
I suspect you're testng form the same client machine and you local browser
is just using the most recent authentication cookie issued.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I'm running an asp.net application where the users will login to view
the city maps. Every user will be assigned a different city map. So If
user x login, he will see only mapx. But the problem is ...

I open the page and login as x and I'm able to see the map correctly.
I will keep that page as it is and open a new page and login as y, but
now I'm seeing x's map. What could be the problem?

Thanks
Steven


Nov 19 '05 #3
If you run with two seperate copies of the browser (as opposed to starting
a second via New->Window from the first), and you don't set a persistent
authentication cookie, it should work.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Yep! you are right and how can I resolve this issue?

- Steven

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:40******** **************@ msnews.microsof t.com...
I suspect you're testng form the same client machine and you local
browser is just using the most recent authentication cookie issued.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I'm running an asp.net application where the users will login to
view the city maps. Every user will be assigned a different city
map. So If user x login, he will see only mapx. But the problem is
...

I open the page and login as x and I'm able to see the map
correctly. I will keep that page as it is and open a new page and
login as y, but now I'm seeing x's map. What could be the problem?

Thanks
Steven


Nov 19 '05 #4
I tried opening new window (not from New--> window), but still having the
same problem .

Any suggestions

Steven

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:40******** **************@ msnews.microsof t.com...
If you run with two seperate copies of the browser (as opposed to starting
a second via New->Window from the first), and you don't set a persistent
authentication cookie, it should work.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Yep! you are right and how can I resolve this issue?

- Steven

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:40******** **************@ msnews.microsof t.com...
I suspect you're testng form the same client machine and you local
browser is just using the most recent authentication cookie issued.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I'm running an asp.net application where the users will login to
view the city maps. Every user will be assigned a different city
map. So If user x login, he will see only mapx. But the problem is
...

I open the page and login as x and I'm able to see the map
correctly. I will keep that page as it is and open a new page and
login as y, but now I'm seeing x's map. What could be the problem?

Thanks
Steven


Nov 19 '05 #5

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

Similar topics

1
2682
by: deko | last post by:
Can I use PHP and htaccess to authenticate users? My service provider lets me password protect directories on my web site - using htaccess. If a user tries to access a page within a password protected directory, a dialog is received requesting username and password. But I want to provide a login page that users go to first, and then are directed to the page/directory that they are allowed to see based on their username/password. Is...
2
2160
by: SD | last post by:
Hi, Quick question, I have about 20 users in my local server and database. We are looking to restore that database to a new server in a new network and still be able to retain the database users. We have created all 20 logins in the new server (exact names) but when we restore the database I do not see the users anymore! Is there something we can do to preserve them or a script we can run to link
6
539
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by surfin it in multiple browsers simultaneously the site generates a generic runtime error after awhile. I'm thinking this has something to do with my access database and multiple connections. I'm using forms authentication with a login page. Is...
1
1429
by: Larry Rekow | last post by:
I created a web application in classic ASP 6 months ago that had a login page which would only allow certain users to add, update or delete files from 6 different departments. (Windows 2000 server, NTFS, IIS5, not using Active Directory. After users are challenged for basic windows authentication, they get to the login page.) At the time, I set-up an Access db and a manager's page to add, delete and modify the permissions of users. When...
2
2897
by: pv | last post by:
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public users). If user is from intranet, web server should recognize it and application should create additional options in controls regarding groups the user belongs to. If user is from extranet it should be logged in as anonymous and a link to login page...
1
1741
by: ABC | last post by:
I have a new project which is a web site used by Internal and External users (login required users) and public users (no login required users). On internal users, all users login network using Windows or Forms authentication login. External users will use Forms authentication login. Both authentications would be cookie or cookieless. How to config the web.config file meet the requirements?
4
12228
by: Kittikun | last post by:
I am currently using the BACKUP DATABASE method to backup my database. Everything works fine, except for users. I created various users with sp_addlogin to access this database and they are located in the xlogins table. The problem is for example, if I backup, remove some users and do a restore, i won't have them back because i just backup the database. So the question is, how can I backup specific users and restore them ? Do I have to...
5
1636
by: Terry Holland | last post by:
I have an intranet application that comprises an ASP.Net application connecting to a SQL Server DB The application has 150 users. At the moment I am connecting using the following setup I have created a MyApp_WebUser user in SQL Server. My connection string, which is stored in my web.config file, is <add key="DB:CSA" value="data source=MyServer;initial catalog=CSA;uid=MyApp_WebUser;pwd=12345678" />
1
1194
by: bitshift | last post by:
Ive been asked to allow internal (domain authenticated) users to get in to my asp.net web application, while everyone else should use the login form. One way ive seen others doing this, is to configure the application in IIS to use windows authentication, uncheck anonymous, so as to have the browser pass in the User.Identity value. Then, when when a visotor hits the site, I can check if we have a domain user with the User.Identity, and...
9
2327
by: Jonathan Wood | last post by:
I've spent days trying to come up with a solution. I'd appreciate it if anyone can help. My site requires all users to log on. There are three different roles of users, and each user type will have access to a completely different set of pages. "Client" pages are in the root folder and "Admin" and "Trainer" pages each have their own subfolders. The problem is that when a user goes to the domain, I want to redirect "Admin" and...
0
8242
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8681
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8629
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8341
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8488
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6112
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4183
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.