Click here to Skip to main content
15,896,476 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralSession ID being shared across multiple tabs in IE 7, Firefox Pin
gauthee13-Mar-08 5:41
gauthee13-Mar-08 5:41 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller13-Mar-08 8:21
Mark J. Miller13-Mar-08 8:21 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
led mike13-Mar-08 9:34
led mike13-Mar-08 9:34 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller13-Mar-08 10:17
Mark J. Miller13-Mar-08 10:17 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
led mike13-Mar-08 10:26
led mike13-Mar-08 10:26 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller13-Mar-08 11:12
Mark J. Miller13-Mar-08 11:12 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
led mike13-Mar-08 12:05
led mike13-Mar-08 12:05 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller14-Mar-08 5:21
Mark J. Miller14-Mar-08 5:21 
If I understand you correctly, your view is that the web adds unnecessary complexities to an application which degrades the user experience. You also believe that companies are too quick to put applications out on the web and in many cases no thought is given to wither or not the web is even a good solution or it will cause more problems than it will solve. In other words the web becomes the hammer which is used when the problem isn't even a nail.

If that's what you're saying, I agree. The web is definately overused. Plus, the web introduces complexities like an increased attack surface and the cost of putting all the buisiness logic on the server. I also agree that a desktop application will eliminate the problem in question because you can control the windows opened by the user and multiple instances of the same application wouldn't share volitle state data.

However, I disagree that my solution is overly complex. I gave a lot of detail to give the poster an idea of how it could be implemented because I wasn't including the source code. In reality the solution simply wraps an xml schema and monitors a single element for changes to its children. When a change happens a new Guid is generated.

On the web side the consumer subscribes to an event which tells it when to update the client's cookie. The public key is included in any urls and each request is monitored to make sure the key is included.

It behaves like session state and is consumed the same way but doesn't touch the built-in session mechanism. And just because I'm bypassing built-in session state and rolling my own doesn't make this a hack.

It's true most applications don't require this kind of mechanism, but that requirement alone doesn't automatically mean that it should be moved to the desktop. A web application is a valid solution to a business need and multiple browser windows (or tabs) which share a single cookie is a reality of the web. I am simply presenting a solution to that condition when it becomes a problem for some applications.


GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
led mike14-Mar-08 6:27
led mike14-Mar-08 6:27 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller14-Mar-08 6:29
Mark J. Miller14-Mar-08 6:29 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
led mike14-Mar-08 5:08
led mike14-Mar-08 5:08 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller14-Mar-08 5:42
Mark J. Miller14-Mar-08 5:42 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
led mike14-Mar-08 6:34
led mike14-Mar-08 6:34 
GeneralRe: Session ID being shared across multiple tabs in IE 7, Firefox Pin
Mark J. Miller14-Mar-08 6:44
Mark J. Miller14-Mar-08 6:44 
GeneralWeb Server Affecting Images - Please Help Pin
cbjroms13-Mar-08 5:20
cbjroms13-Mar-08 5:20 
QuestionHow to retrieve images where image location is in sql database Pin
seanbhalliday13-Mar-08 4:57
seanbhalliday13-Mar-08 4:57 
AnswerRe: How to retrieve images where image location is in sql database Pin
Not Active13-Mar-08 9:15
mentorNot Active13-Mar-08 9:15 
Generalpopulate an array Pin
greekius13-Mar-08 4:52
greekius13-Mar-08 4:52 
GeneralRe: populate an array Pin
Mark J. Miller13-Mar-08 8:30
Mark J. Miller13-Mar-08 8:30 
Generalcross browser problem Pin
RajeevKumarSharma13-Mar-08 2:49
RajeevKumarSharma13-Mar-08 2:49 
GeneralRe: cross browser problem Pin
AhsanS13-Mar-08 2:52
AhsanS13-Mar-08 2:52 
General.asmx file Pin
eyeseetee13-Mar-08 1:59
eyeseetee13-Mar-08 1:59 
GeneralRe: .asmx file Pin
AhsanS13-Mar-08 2:24
AhsanS13-Mar-08 2:24 
GeneralRe: .asmx file Pin
Not Active13-Mar-08 2:32
mentorNot Active13-Mar-08 2:32 
GeneralRe: .asmx file Pin
AhsanS13-Mar-08 2:35
AhsanS13-Mar-08 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.