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? 2 2405
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 independentl y 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
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******@inlan dkwpp.com> wrote in message
news:qg******** *************** *********@4ax.c om... 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 independentl y 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 trying to insert a duplicate record.
i can simply do so by using "on error resume next"....
this is what I do:
"on error resume next
server.transfer("error.asp")"
the problem is it simply takes me to a page where I display an error has
|
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 opens with the selected users details in text boxes for
editing if required. There are the following fields:
UserID (PK in table)
Password
|
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
hidden form field.
That's fair enough.
My server is therefore processing a response on the first request, so
what kind of HTML response should I send out on the second, duplicate,
|
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 form is posted it adds
the data just fine. However, when you try to add more new data it adds
the data and it duplicates it again with different transaction ID.
|
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 different time by a
minute or so. I also tried to count the number of emails it is sending by
using the intEmail = intEmail + 1, but the number is always 1.Could anyone
tell me why this is happening or give me advice on how to change it. Thanks...
| |
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 window and navigate to the home page of my ASP.net app, and
note the Session ID that was assigned.
I then type CTRL-N to open a new IE window. The session ID displayed on the
|
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 solution to this?
Or do I need to create a hidden field which contains some sort of
|
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 clicks
again,
which created duplicate forcm submission and hence duplicate records.
So I am trying to disable the button as soon as it is clicked, and as soon
as it's done,
|
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 do that, i insert the data directly from the csv into a table called tmptblpalmexl and insert the userid (from my session info).. then change the data as neccessary with a form, then after that form submits, run an sql to insert on duplicate key...
|
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...
|
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,...
| |
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,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |