473,287 Members | 1,582 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,287 software developers and data experts.

Session variables are mixing each other with multiple login....

My development environment is ASP.Net 1.1.

When the user does multiple logins to the system and navigates to different
screens and clicks back button sometimes it reading the session variables
values are mixing each other.

How to avoid this kind of situation? Basically I am looking for the steps to
be taken when we develop web based application using ASP.Net (.Net framework
1.1) for multiple logins.

Shashi
Nov 18 '05 #1
2 2100
i would think this would only happen if you are creating new windows in IE
from an existing one that is open. if so then they would share the same
session id. if you create a new instance of IE for each logon, then this is a
little strange.

what type of logon are you using, your own, or forms? or windows or passport?

"Shashi" wrote:
My development environment is ASP.Net 1.1.

When the user does multiple logins to the system and navigates to different
screens and clicks back button sometimes it reading the session variables
values are mixing each other.

How to avoid this kind of situation? Basically I am looking for the steps to
be taken when we develop web based application using ASP.Net (.Net framework
1.1) for multiple logins.

Shashi

Nov 18 '05 #2
Thanks for your reply.
1. I am using my own login. Checking the user id and password in the
database.
2. Here is the sequence.
* Default.aspx is the default page for the website.
* Load event of this page, I am opening a new page(Login Page) using
the following java script.
Response.Write( "window.open('" & URL & "','" & "WindowName"
& Session.SessionID & "','" &
toolbar=no,location=no,titlebar=no,directories=no, status=yes,menubar=no,scro
llbars=yes,copyhistory=no,menubar=no,scrollbars=1, resizable=1,height=" &
Chr(34) & " + maxh+" & Chr(34) & ",width=" & Chr(34) & " + maxw+" & Chr(34)
& ",left=0,top=0" & "');" & vbCrLf))

* In Login page the user(U1) will login to the sytem.
*Enters Customer # and navigates to the customer page.

*Other user(U2) logs in the same way and navigates to the customer
screen.

* User2 through popup menu selects Back and navigates back.

* USer U1 through popup menu selects Back and navigates back
*Instead of displaying the U1 profile system is displaying the U2
profile. That means I have text box with user ID displayed from a session
variable which got wrong data.

Please advice.
Shashi

"chriscollinson" <ch************@discussions.microsoft.com> wrote in message
news:CC**********************************@microsof t.com...
i would think this would only happen if you are creating new windows in IE
from an existing one that is open. if so then they would share the same
session id. if you create a new instance of IE for each logon, then this is a little strange.

what type of logon are you using, your own, or forms? or windows or passport?
"Shashi" wrote:
My development environment is ASP.Net 1.1.

When the user does multiple logins to the system and navigates to different screens and clicks back button sometimes it reading the session variables values are mixing each other.

How to avoid this kind of situation? Basically I am looking for the steps to be taken when we develop web based application using ASP.Net (.Net framework 1.1) for multiple logins.

Shashi

Nov 18 '05 #3

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

Similar topics

6
by: bonehead | last post by:
I'm still a novice when it comes to session security issues. The problems I'm trying to solve may be fairly common, but I haven't seen examples of solutions in any of the books I've looked at. I...
30
by: Robert Tweed | last post by:
Does anyone know a good resource discussing the issues involved in session theft? I've read a couple, but none that really address the problem apart from acknowledging that it is a problem; you...
9
by: Pack Fan | last post by:
I've noticed that session variables will persist on Mac IE even after all browser windows have been closed. One must quit the program to clear the session variables. This presents a security risk...
1
by: Scott Lyon | last post by:
I'm maintaining (read: I didn't write it, nor do I have the time to spend to rewrite it) an application that is suddenly giving me grief. The reason I say suddenly, is because we're in the...
4
by: Cowboy \(Gregory A. Beamer\) | last post by:
Background: ------------- The idea started as a single sign on type of application. Having tested it before, I knew we could institute single sign on using the same Authentication Cookie name (in...
10
by: Li Pang | last post by:
Hi, I created a html page from which I give a link to another web site. The new site is opened in a new window. When I opened multiple windows, they all have the same SessionID. I want ot know...
6
by: somaskarthic | last post by:
Hi This is somas here. I asked query about detecting the browser close event using javascript. I want to detect the event only when the X button in the top right corner is clicked and not else...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
8
by: Eddie | last post by:
I am having difficulty in setting variables in a session, and then accessing those variables throughout the web pages that they click on. After having them set a user name and password,...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.