Ok but my problem is right throughout my application still even when only
logged in as one user. 

Say I am a client who logs in and views a list of their customers. I want to
view customer x, customer y, and customer z values to compare them. So I
right click on these three links and open them in new windows. They all open
fine, but If I hit refresh on one of them, the details of the most recently
retrieved customer will be seen. This is because like in the action class as
before I call

request.getSession().setAttribute("chosenCU",customer);

And on the jsp I use 

<bean:write name="chosenCU" property="cuID" />
<bean:write name="chosenCU" property="cuName" />

etc. for other properties

So it gets the chosenCU object in session scope and displays it. I only want
to display the customer that is relevant to the page. Can this be done with
some sort of page scope or something?

Thanks



-----Original Message-----
From: Daniel Henrique Alves Lima [mailto:[EMAIL PROTECTED] 
Sent: 10 March 2004 21:39
To: Struts Users Mailing List
Subject: Re: Cookies And Session Problems

Ciaran, Brian is right.

Using IE, you can get a different session if you try to execute a new 
instance of IE (do not use "Open a new window"). But you must be 
carefull because even the links in Windows' startup menu can just "Open 
a new window" (instead starts a new IE instance).

When you are using Netscape/Mozilla, try to use 2 different profiles 
(again, "Open a new Window" will make Netscape or Mozilla share the 
stored cookies).

I hope this helps you.

Brian Lee wrote:

> It looks like your two browser sessions are sharing the same memory 
> used to store cookies. So your application server treats requests from 
> both browsers as in the same session (since they send the same 
> jsessionid cookie). In IE you used to be able to correct his by 
> checking "launch in new process" in Tools|Internet Options, but I no 
> longer see this in IE 6.0.2800.1106
>
> If you open your site in IE and in Mozilla at the same time you will 
> have separate sessions.
>
> BAL




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to