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

Duplicate Session ID

I've run across some very strange behavior when running and debugging an
asp.net application. I have created a shortcut to the URL of the app (which
runs locally on IIS under XP Pro). If I use the shortcut more than once to
bring up two or more browser windows for that page, the Session ID is the
same for all those windows. If I leave those windows open, then
independently launch the browser and enter the URL, I do get a brand new
session. It seems to be related just to the shortcut, because I can open
multiple browser windows, and then key in the URL on each of them, and I do
get separate session IDs as expected. But as soon as I use a shortcut, the
pages displayed by the browser all report the same session ID.

Anyone run across this before? Does anyone understand what is happening
here?
Nov 18 '05 #1
2 2373
On Mon, 28 Jun 2004 15:35:43 -0700, "Marcio Kleemann" <notavailable>
wrote:
I've run across some very strange behavior when running and debugging an
asp.net application. I have created a shortcut to the URL of the app (which
runs locally on IIS under XP Pro). If I use the shortcut more than once to
bring up two or more browser windows for that page, the Session ID is the
same for all those windows. If I leave those windows open, then
independently launch the browser and enter the URL, I do get a brand new
session. It seems to be related just to the shortcut, because I can open
multiple browser windows, and then key in the URL on each of them, and I do
get separate session IDs as expected. But as soon as I use a shortcut, the
pages displayed by the browser all report the same session ID.

Anyone run across this before? Does anyone understand what is happening
here?


This is a known behaviour. On the web u can easily open instances of
browsers in the same session (IE ctrl+n and as you have shown, a
shortcut). You can't guarantee people will hop onto new sessions and
this will have to be programmed around.

-adam
Nov 18 '05 #2
I was not aware of that, but if this is "normal" behavior, how would you
determine that a new browser instance is actually duplicating a session
instead of starting a new session? Can you suggest how that would be
programmed around?

Thanks

<as******@inlandkwpp.com> wrote in message
news:qg********************************@4ax.com...
On Mon, 28 Jun 2004 15:35:43 -0700, "Marcio Kleemann" <notavailable>
wrote:
I've run across some very strange behavior when running and debugging an
asp.net application. I have created a shortcut to the URL of the app (whichruns locally on IIS under XP Pro). If I use the shortcut more than once tobring up two or more browser windows for that page, the Session ID is the
same for all those windows. If I leave those windows open, then
independently launch the browser and enter the URL, I do get a brand new
session. It seems to be related just to the shortcut, because I can open
multiple browser windows, and then key in the URL on each of them, and I doget separate session IDs as expected. But as soon as I use a shortcut, thepages displayed by the browser all report the same session ID.

Anyone run across this before? Does anyone understand what is happening
here?


This is a known behaviour. On the web u can easily open instances of
browsers in the same session (IE ctrl+n and as you have shown, a
shortcut). You can't guarantee people will hop onto new sessions and
this will have to be programmed around.

-adam

Nov 18 '05 #3

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

Similar topics

1
by: monika | last post by:
hi... when I try to insert a duplicate record I get the primary key error. which is good. but I want to generate a user friendly error ... telling the user that u have got this error because u r...
3
by: David | last post by:
Hi, I have a page which lets me select a user from a list by checking a check box next to the specific user and pressing a submit button. The Check box holds the value = 'UserID'. A new form...
6
by: nick4soup | last post by:
I have read the CGI FAQ 'How can I avoid users hitting "submit" twice' (on http://www.htmlhelp.org/faq/cgifaq.3.html#19 ) which essentially says you have to detect it at the server, using a...
0
by: Suler Abou | last post by:
Hi, I'm having a problem with an SQL statement, I have a statement that goes like this: "INSERT INTO table VALUES('TransID','CID',etc...);" it basically adds new data to a table. When the...
3
by: chuckdfoster | last post by:
When using this bit of code, it sends two emails most of the time. Sometimes it doesn't send two, but most of the time it does. I put the system time (Now) in the Subject and each email has a...
2
by: Jim Tilson | last post by:
I'm having a problem with Session ID being duplicated across multiple IE windows. I edited the web.config for my ASP.net web application to display trace information on the page. I open an IE...
8
by: mindwarp | last post by:
Hi, When a user submits / posts data my php script Inserts data into my database. If they refresh the script or click back and click submit again I get duplicate record. Is there an easy...
6
by: Oleg Konovalov | last post by:
Hi, I have a Java/JavaScript GUI application where I perform a lot of long DB operations , which takes 5-60 secs to perform. Sometimes user double-clicks the button or just gets impatient and...
0
by: mary07 | last post by:
I am using mysql 5/php. I am having a problem with one sql. Here's what I'm doing.. I am uploading csv files, checking through them, then updating my database with the updated files. In order to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.