473,396 Members | 2,010 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,396 software developers and data experts.

IIS session and IE7

I have asp and asp.net web application. When I run it in IE7 in first tab it
starts a new session. When I open second tab and browse to the same site the
new session is not started (infact I need to have new session there).
Whereas, 2 IE instances generate 2 unique sessions. Only issue is with IE
tabs. Firefox also has similar things but lets not talk about firefox here.
I am more concerned with IE only.

Any tips/tricks/missing knowledge.

[sorry if I have posted this to the wrong audiences]
Jan 17 '07 #1
4 5950
abcd wrote on 17 jan 2007 in microsoft.public.inetserver.asp.general:
I have asp and asp.net web application. When I run it in IE7 in first
tab it starts a new session. When I open second tab and browse to the
same site the new session is not started (infact I need to have new
session there). Whereas, 2 IE instances generate 2 unique sessions.
Only issue is with IE tabs. Firefox also has similar things but lets
not talk about firefox here. I am more concerned with IE only.

Any tips/tricks/missing knowledge.

[sorry if I have posted this to the wrong audiences]
The behavour of cookies in diggerent browsers is a clientside issue,
ASP is strictly serverside code, so how it's session.id cookie is handled
is out of reach of ASP.

The same probably goes for asp.net, but that has it's own NG's, or so they
say, this NG is classic ASP only.

This does not mean, that this tab issue is not important to ASP
programmers, so thank you for mentioning it.

It could be that some clever serverside programming can alliviate the
consequences.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jan 17 '07 #2
Evertjan

I am more interested in Session.sessionid value which is server side thing.
Having a unique session ID matters to the web applications which are already
developed to do so. IE7 tabs does not meet this requirement. I dont know why
it is designed like that. Thats what I am trying to dig.

[Just saying this is not approprate group is not the solution. :) ]

"Evertjan." <ex**************@interxnl.netwrote in message
news:Xn********************@194.109.133.242...
abcd wrote on 17 jan 2007 in microsoft.public.inetserver.asp.general:
>I have asp and asp.net web application. When I run it in IE7 in first
tab it starts a new session. When I open second tab and browse to the
same site the new session is not started (infact I need to have new
session there). Whereas, 2 IE instances generate 2 unique sessions.
Only issue is with IE tabs. Firefox also has similar things but lets
not talk about firefox here. I am more concerned with IE only.

Any tips/tricks/missing knowledge.

[sorry if I have posted this to the wrong audiences]

The behavour of cookies in diggerent browsers is a clientside issue,
ASP is strictly serverside code, so how it's session.id cookie is handled
is out of reach of ASP.

The same probably goes for asp.net, but that has it's own NG's, or so they
say, this NG is classic ASP only.

This does not mean, that this tab issue is not important to ASP
programmers, so thank you for mentioning it.

It could be that some clever serverside programming can alliviate the
consequences.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jan 17 '07 #3
abcd wrote on 17 jan 2007 in microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.netwrote in message
news:Xn********************@194.109.133.242...
>abcd wrote on 17 jan 2007 in microsoft.public.inetserver.asp.general:
>>I have asp and asp.net web application. When I run it in IE7 in
first tab it starts a new session. When I open second tab and browse
to the same site the new session is not started (infact I need to
have new session there). Whereas, 2 IE instances generate 2 unique
sessions. Only issue is with IE tabs. Firefox also has similar
things but lets not talk about firefox here. I am more concerned
with IE only.

Any tips/tricks/missing knowledge.

[sorry if I have posted this to the wrong audiences]

The behavour of cookies in diggerent browsers is a clientside issue,
ASP is strictly serverside code, so how it's session.id cookie is
handled is out of reach of ASP.

The same probably goes for asp.net, but that has it's own NG's, or so
they say, this NG is classic ASP only.

This does not mean, that this tab issue is not important to ASP
programmers, so thank you for mentioning it.

It could be that some clever serverside programming can alliviate the
consequences.
[Please do not toppost on usenet]
I am more interested in Session.sessionid value which is server side
thing. Having a unique session ID matters to the web applications
which are already developed to do so. IE7 tabs does not meet this
requirement. I dont know why it is designed like that. Thats what I am
trying to dig.

[Just saying this is not approprate group is not the solution. :) ]
I did not JUST say that, but I think, as I said, it is a clientside thing
what happens to the cookie and the only way ASP can deal with that is not
needing the single browser window, so clever programming.

There, though I doubt that be a IIS settings solutution, but that also is
outside the scope of ASP programming.

So let's ask this question:

Why is it so important for your web program[ming] to not to have two
windows in one session?

If you/we know that, then perhaps we can make it unimportant by
programming tweaks.

Example:

Say that submitting two forms would mess up your programme?
Whel, then give the form a onetime hidden value, that is checked
serverside.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jan 17 '07 #4

"abcd" <ab**@abcd.comwrote in message
news:en*************@TK2MSFTNGP04.phx.gbl...
Evertjan

I am more interested in Session.sessionid value which is server side
thing.
Having a unique session ID matters to the web applications which are
already
developed to do so. IE7 tabs does not meet this requirement. I dont know
why
it is designed like that. Thats what I am trying to dig.
Actually this isn't really much different in IE6. Opening a new Tab in IE7
is pretty much the same function as using IE6's 'open in new window'. In
both cases the new window runs in the same IExplore process.

ASP uses a transient cookie to store a SessionID. This cookie behaves just
like any other cookie in that whenever a request is made to a path that
matches the one specified when it was created it will get sent in the
request. It only differs from standard cookies in that it never gets
written to disk and therefore is only available to the process that received
it.

An ASP application can not maintain two different sessions on behalf of a
single client browser process (unless that browser did some very clever
sandboxing, I don't know of any that do).


Jan 17 '07 #5

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

Similar topics

2
by: Damien | last post by:
Hi to all, I'm currently re-designing our intranet : nice and lean CSS2, cleaned-up PHP 4.3.7, better-normalized MySQL ;o). So I've started using the $_SESSION variable instead of register_globals...
1
by: mudge | last post by:
I'm running PHP Version 4.3.10. I'm trying to make it so that when a person logs in using a user name and password that their session is valid and continues for a few months so they don't have to...
6
by: Al Jones | last post by:
This is a repost form the vbscript newgroup - if this isn't the appropriate group would you point me toward one that is. Basically, I seem to be losing session data part way though preparing an...
5
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session...
0
by: joseph conrad | last post by:
Hi, I tried to implement my own session handler in order to keep control on the process the drawback I foun it is not creating and storing in my cookie the PHPSESSID variable anymore. reading te...
14
by: aroraamit81 | last post by:
Hi, I am facing a trouble. I have some Session variables in my code and somehow my session variables are getting mixed up with other users. For example User A has access to 10 companies and...
7
by: aroraamit81 | last post by:
Well Guys, Here is a very strange trouble. When more than one users request tto same page at the same time then our session gets conflicted. Moreover I printed my SessionID, strangely but true I...
0
by: TRB_NV | last post by:
I'd been using an Access database based shopping cart, but wanted to change it so that it would use session variables. I have a form that's submitted to a page called addtocart.asp that contains...
1
by: Santosh | last post by:
Dear All i am writting a code sending mail with attachement. i am writting code for sending mail in one page and code for attaching a file in the next page. aftet attaching a file i am taking...
5
by: lyealain | last post by:
<% If Session("username") = "" Then Response.Redirect("/CLS/Login.asp") End If Dim conn Dim connectstr Dim db_name, db_username, db_userpassword Dim db_server Dim res
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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
agi2029
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,...

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.