RE: Session Problem

2004-01-27 Thread McCormack, Chris
put
[EMAIL PROTECTED] contentType=text/html session=false%
or
%@ page session=false %

In the header of your jsp that you dont want caching.

Chris

-Original Message-
From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 18:33
To: 'Struts Users Mailing List'
Subject: RE: Session Problem


Initially I thought the same way, but it is happening between different
Machines. Looks like this is some kind of caching problem but couldn't
figure it out where.

-Original Message-
From: Robert Nocera [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:40 PM
To: 'Struts Users Mailing List'
Subject: RE: Session Problem


If there is no server activity, is it possible the page you are looking at
is cached?

-Rob

-Original Message-
From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Session Problem

I put the topic as Re: Session Problem because it may be related with same
problem.

In my application I am using Struts 1.1 and WebSphere 5.0. 

First time when I login into the application it works fine.
The problem starts after that, when I open a new browser not by Ctrl+N or
File--New--Window, but I start a new Browser from my Windows 2000 Start
randomly I found myself auto logged in to my application and it happens like
1 in 10 times only.
The strange thing is even when I logged-in on my machine, if I open the
login page from other's machine also the same problem happens. Irrespective
of from where I go to login page randomly I found myself logged-in.
It is not like it happens just with my ID, it happens with anybody's ID.
And whenever that auto-login happens , it doesn't show any activity on
server(I check log files for that).

It is really a weird problem, if anybody has faced similar kind of problem,
please let me know.
By the way the WebSphere 5.0 is on AIX box.

Your help will be appreciated.
Regards
Sanjeev

-
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]

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


***
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.



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



Re: Session Problem

2004-01-26 Thread VERMA, SANJEEV (SBCSI)
I put the topic as Re: Session Problem because it may be related with same
problem.

In my application I am using Struts 1.1 and WebSphere 5.0. 

First time when I login into the application it works fine.
The problem starts after that, when I open a new browser not by Ctrl+N or
File--New--Window, but I start a new Browser from my Windows 2000 Start
randomly I found myself auto logged in to my application and it happens like
1 in 10 times only.
The strange thing is even when I logged-in on my machine, if I open the
login page from other's machine also the same problem happens. Irrespective
of from where I go to login page randomly I found myself logged-in.
It is not like it happens just with my ID, it happens with anybody's ID.
And whenever that auto-login happens , it doesn't show any activity on
server(I check log files for that).

It is really a weird problem, if anybody has faced similar kind of problem,
please let me know.
By the way the WebSphere 5.0 is on AIX box.

Your help will be appreciated.
Regards
Sanjeev

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



RE: Session Problem

2004-01-26 Thread Robert Nocera
If there is no server activity, is it possible the page you are looking at
is cached?

-Rob

-Original Message-
From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Session Problem

I put the topic as Re: Session Problem because it may be related with same
problem.

In my application I am using Struts 1.1 and WebSphere 5.0. 

First time when I login into the application it works fine.
The problem starts after that, when I open a new browser not by Ctrl+N or
File--New--Window, but I start a new Browser from my Windows 2000 Start
randomly I found myself auto logged in to my application and it happens like
1 in 10 times only.
The strange thing is even when I logged-in on my machine, if I open the
login page from other's machine also the same problem happens. Irrespective
of from where I go to login page randomly I found myself logged-in.
It is not like it happens just with my ID, it happens with anybody's ID.
And whenever that auto-login happens , it doesn't show any activity on
server(I check log files for that).

It is really a weird problem, if anybody has faced similar kind of problem,
please let me know.
By the way the WebSphere 5.0 is on AIX box.

Your help will be appreciated.
Regards
Sanjeev

-
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]



RE: Session Problem

2004-01-26 Thread VERMA, SANJEEV (SBCSI)
Initially I thought the same way, but it is happening between different
Machines. Looks like this is some kind of caching problem but couldn't
figure it out where.

-Original Message-
From: Robert Nocera [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:40 PM
To: 'Struts Users Mailing List'
Subject: RE: Session Problem


If there is no server activity, is it possible the page you are looking at
is cached?

-Rob

-Original Message-
From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Session Problem

I put the topic as Re: Session Problem because it may be related with same
problem.

In my application I am using Struts 1.1 and WebSphere 5.0. 

First time when I login into the application it works fine.
The problem starts after that, when I open a new browser not by Ctrl+N or
File--New--Window, but I start a new Browser from my Windows 2000 Start
randomly I found myself auto logged in to my application and it happens like
1 in 10 times only.
The strange thing is even when I logged-in on my machine, if I open the
login page from other's machine also the same problem happens. Irrespective
of from where I go to login page randomly I found myself logged-in.
It is not like it happens just with my ID, it happens with anybody's ID.
And whenever that auto-login happens , it doesn't show any activity on
server(I check log files for that).

It is really a weird problem, if anybody has faced similar kind of problem,
please let me know.
By the way the WebSphere 5.0 is on AIX box.

Your help will be appreciated.
Regards
Sanjeev

-
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]

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



RE: Session Problem

2004-01-22 Thread Paul McCulloch
This feature seems to have been dropped in IE 5.01  later.

http://support.microsoft.com/?kbid=240928

Pitty - sounded like a useful way of demoing multiple users accessing the
system from a single machine.

Paul

 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
 Sent: 23 December 2004 06:43
 To: Struts Users Mailing List; [EMAIL PROTECTED]
 Subject: RE: Session Problem
 
 
 Better late than never (hot cpu chip literally fried a 
 motherboard) ...
 
 Quoting Andrew Hill [EMAIL PROTECTED]:
 
  snip
  How do I make sure the session on both the browsers will be 
 different other
  than URL Rewriting.
  /snip
  
 
 For Netscape (and I presume Mozilla but haven't checked), I 
 don't believe there
 is any way to do this.  For IE, there's a configuration 
 setting called Browse
 In New Process or something like that which makes each 
 window collect its own
 pool of cookies, rather than sharing them.
 
 Craig McClanahan
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



Re: Session Problem

2004-01-22 Thread John D. Hume
But as the Microsoft write-up says, the feature is automatically enabled 
on any installation on a machine with more than 32MB RAM, which you 
surely have.  So demo away!

-john.

   After you install Internet Explorer 5.01 or Internet Explorer 5.5,
   you cannot configure this setting because it is automatically
   enabled or disabled based on the amount of random access memory
   (RAM) that is installed in the computer. If the computer has less
   than 32 megabytes (MBs) of RAM installed, this setting is disabled
   and all instances of Internet Explorer share the same process. If
   there is 32 MBs of RAM or more installed on the computer, the
   setting is enabled, which causes new instances of Internet Explorer
   to create new processes.


Paul McCulloch wrote:

This feature seems to have been dropped in IE 5.01  later.

http://support.microsoft.com/?kbid=240928

Pitty - sounded like a useful way of demoing multiple users accessing the
system from a single machine.
Paul

 

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: 23 December 2004 06:43
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Session Problem
Better late than never (hot cpu chip literally fried a 
motherboard) ...

Quoting Andrew Hill [EMAIL PROTECTED]:

   

snip
How do I make sure the session on both the browsers will be 
 

different other
   

than URL Rewriting.
/snip
 

For Netscape (and I presume Mozilla but haven't checked), I 
don't believe there
is any way to do this.  For IE, there's a configuration 
setting called Browse
In New Process or something like that which makes each 
window collect its own
pool of cookies, rather than sharing them.

Craig McClanahan

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



**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



RE: Session Problem

2004-01-21 Thread Craig R. McClanahan
Better late than never (hot cpu chip literally fried a motherboard) ...

Quoting Andrew Hill [EMAIL PROTECTED]:

 snip
 How do I make sure the session on both the browsers will be different other
 than URL Rewriting.
 /snip
 

For Netscape (and I presume Mozilla but haven't checked), I don't believe there
is any way to do this.  For IE, there's a configuration setting called Browse
In New Process or something like that which makes each window collect its own
pool of cookies, rather than sharing them.

Craig McClanahan


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



RE: Session Problem

2004-01-16 Thread Andrew Hill
On the same machine? Rather sounds like its the same session.
Im not sure about IE6, but as I recall, IE5 will share its cookies between
the various windows if cookies are enabled. If cookies are disabled then url
writing takes over (asuming youve made sure your links are re-written by
using the appropriate tags) which means they shouldlnt share sessions if
opened seperately. You could test this theory by disabling cookies in your
browser and see if it makes a difference.

Put it a log statement somewhere to log the sessionId and compare the
results for both the windows to see if it is indeed a different session, or
if the second window causes the first window to end up in the second's
session.


-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:17
To: [EMAIL PROTECTED]
Subject: Session Problem


Hi

I am getting session collusion problem , if I open my application on two
IE5.5 browsers , after some time , I am getting same values and junk values
which are not applicable for that session , but will be applicable for the
session present on other browser.

Please help, What could be the problem?

Thanks and Regards
Parag Pattewar
Persistent Systems Private Limited
Bhageerath
402, Senapati Bapat Road
Pune 411016
India

Tel: +91 (20) 2567 8900 extn. 2640
Fax: +91 (20) 2567 8901


-
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]



RE: Session Problem

2004-01-16 Thread Andrew Hill
snip
How do I make sure the session on both the browsers will be different other
than URL Rewriting.
/snip

This I do not know. :-(
You can take a look through all the browser options and see if there is
anything to make it associate cookies only with a specific window, but I
would be quite surprised if there is such an option. I suspect in the
absense of url rewriting you will need to use either different machines for
each browser, or a different browser (ie open second window in mozilla or
something). Hopefully Im wrong on that and someone else on this list has a
better idea!

-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:31
To: [EMAIL PROTECTED]
Subject: RE: Session Problem


Hi

I tried to use URL rewriting explicetly for session tracking, unfortunately
I wont be able to use this because Its not been guaranteed in the code is
been written using html:link always for the links.
As both the browsers sessions are using only the same cookies, so I think
the problem is because of that.
How do I make sure the session on both the browsers will be different other
than URL Rewriting.

Thanks
Parag

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 4:51 PM
To: Struts Users Mailing List
Subject: RE: Session Problem


On the same machine? Rather sounds like its the same session.
Im not sure about IE6, but as I recall, IE5 will share its cookies between
the various windows if cookies are enabled. If cookies are disabled then url
writing takes over (asuming youve made sure your links are re-written by
using the appropriate tags) which means they shouldlnt share sessions if
opened seperately. You could test this theory by disabling cookies in your
browser and see if it makes a difference.

Put it a log statement somewhere to log the sessionId and compare the
results for both the windows to see if it is indeed a different session, or
if the second window causes the first window to end up in the second's
session.


-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:17
To: [EMAIL PROTECTED]
Subject: Session Problem


Hi

I am getting session collusion problem , if I open my application on two
IE5.5 browsers , after some time , I am getting same values and junk values
which are not applicable for that session , but will be applicable for the
session present on other browser.

Please help, What could be the problem?

Thanks and Regards
Parag Pattewar
Persistent Systems Private Limited
Bhageerath
402, Senapati Bapat Road
Pune 411016
India

Tel: +91 (20) 2567 8900 extn. 2640
Fax: +91 (20) 2567 8901


-
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]



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



RE: Session Problem

2004-01-16 Thread Guillermo Meyer
I had a similar problem.
I have two browsers opened with diferent sessions (and logged on with
different users to my app) in the same machine.
In one browser, I click a button that opens a new window (window.open in
javascript) and in this new window a submit is performed to an action of
struts. This action has an execute that checks isTokenValid and gives
false, not because I haven't saved token first, but because session are
different. 

 */
protected boolean isTokenValid(HttpServletRequest request) {

// Retrieve the saved transaction token from our session
HttpSession session = request.getSession(false);

//-- here, session id is different of the main window
session, but equals to the other window session.

if (session == null)
.
.
.

//as session id is wrong, token is invalid.
}

If I have one only main browser opened this problem doesn't happen. I
think that it can be a window.open IE problem, but I still couldn't find
out a solution. 

If anyone has one...
Thanks..
Guillermo.

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 16 de Enero de 2004 08:38 a.m.
To: Struts
Subject: RE: Session Problem


snip
How do I make sure the session on both the browsers will be different
other than URL Rewriting. /snip

This I do not know. :-(
You can take a look through all the browser options and see if there is
anything to make it associate cookies only with a specific window, but I
would be quite surprised if there is such an option. I suspect in the
absense of url rewriting you will need to use either different machines
for each browser, or a different browser (ie open second window in
mozilla or something). Hopefully Im wrong on that and someone else on
this list has a better idea!

-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:31
To: [EMAIL PROTECTED]
Subject: RE: Session Problem


Hi

I tried to use URL rewriting explicetly for session tracking,
unfortunately I wont be able to use this because Its not been guaranteed
in the code is been written using html:link always for the links. As
both the browsers sessions are using only the same cookies, so I think
the problem is because of that. How do I make sure the session on both
the browsers will be different other than URL Rewriting.

Thanks
Parag

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 4:51 PM
To: Struts Users Mailing List
Subject: RE: Session Problem


On the same machine? Rather sounds like its the same session. Im not
sure about IE6, but as I recall, IE5 will share its cookies between the
various windows if cookies are enabled. If cookies are disabled then url
writing takes over (asuming youve made sure your links are re-written by
using the appropriate tags) which means they shouldlnt share sessions if
opened seperately. You could test this theory by disabling cookies in
your browser and see if it makes a difference.

Put it a log statement somewhere to log the sessionId and compare the
results for both the windows to see if it is indeed a different session,
or if the second window causes the first window to end up in the
second's session.


-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:17
To: [EMAIL PROTECTED]
Subject: Session Problem


Hi

I am getting session collusion problem , if I open my application on two
IE5.5 browsers , after some time , I am getting same values and junk
values which are not applicable for that session , but will be
applicable for the session present on other browser.

Please help, What could be the problem?

Thanks and Regards
Parag Pattewar
Persistent Systems Private Limited
Bhageerath
402, Senapati Bapat Road
Pune 411016
India

Tel: +91 (20) 2567 8900 extn. 2640
Fax: +91 (20) 2567 8901


-
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]



-
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]



RE: Session Problem

2004-01-16 Thread Edgar P Dollin
If IE opens a new window (either through javascript or from the
file/new/window menu) and IE is in a session, the session is shared between
the two browser sessions.

If you open two copies of IE from the operating system, they will not share
the session.

The only way to solve this that I know of, is to keep a session token, if
you find it out of sequence, forward to a page which closes the window (if
javascript is enabled).  If you use tokens on your update sequences you
should be able to live with the two browsers in the same session.

Edgar

-Original Message-
From: Guillermo Meyer [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 7:19 AM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Session Problem


I had a similar problem.
I have two browsers opened with diferent sessions (and logged on with
different users to my app) in the same machine.
In one browser, I click a button that opens a new window (window.open in
javascript) and in this new window a submit is performed to an action of
struts. This action has an execute that checks isTokenValid and gives
false, not because I haven't saved token first, but because session are
different. 

 */
protected boolean isTokenValid(HttpServletRequest request) {

// Retrieve the saved transaction token from our session
HttpSession session = request.getSession(false);

//-- here, session id is different of the main window
session, but equals to the other window session.

if (session == null)
.
.
.

//as session id is wrong, token is invalid.
}

If I have one only main browser opened this problem doesn't happen. I
think that it can be a window.open IE problem, but I still couldn't find
out a solution. 

If anyone has one...
Thanks..
Guillermo.

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 16 de Enero de 2004 08:38 a.m.
To: Struts
Subject: RE: Session Problem


snip
How do I make sure the session on both the browsers will be different
other than URL Rewriting. /snip

This I do not know. :-(
You can take a look through all the browser options and see if there is
anything to make it associate cookies only with a specific window, but I
would be quite surprised if there is such an option. I suspect in the
absense of url rewriting you will need to use either different machines
for each browser, or a different browser (ie open second window in
mozilla or something). Hopefully Im wrong on that and someone else on
this list has a better idea!

-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:31
To: [EMAIL PROTECTED]
Subject: RE: Session Problem


Hi

I tried to use URL rewriting explicetly for session tracking,
unfortunately I wont be able to use this because Its not been guaranteed
in the code is been written using html:link always for the links. As
both the browsers sessions are using only the same cookies, so I think
the problem is because of that. How do I make sure the session on both
the browsers will be different other than URL Rewriting.

Thanks
Parag

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 4:51 PM
To: Struts Users Mailing List
Subject: RE: Session Problem


On the same machine? Rather sounds like its the same session. Im not
sure about IE6, but as I recall, IE5 will share its cookies between the
various windows if cookies are enabled. If cookies are disabled then url
writing takes over (asuming youve made sure your links are re-written by
using the appropriate tags) which means they shouldlnt share sessions if
opened seperately. You could test this theory by disabling cookies in
your browser and see if it makes a difference.

Put it a log statement somewhere to log the sessionId and compare the
results for both the windows to see if it is indeed a different session,
or if the second window causes the first window to end up in the
second's session.


-Original Message-
From: Parag Pattewar [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:17
To: [EMAIL PROTECTED]
Subject: Session Problem


Hi

I am getting session collusion problem , if I open my application on two
IE5.5 browsers , after some time , I am getting same values and junk
values which are not applicable for that session , but will be
applicable for the session present on other browser.

Please help, What could be the problem?

Thanks and Regards
Parag Pattewar
Persistent Systems Private Limited
Bhageerath
402, Senapati Bapat Road
Pune 411016
India

Tel: +91 (20) 2567 8900 extn. 2640
Fax: +91 (20) 2567 8901


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



-
To unsubscribe, e

Re: Session Problem

2002-06-13 Thread Kevin . Bedell


Are they in the same .war file (the same webapp)?





Sudhir [EMAIL PROTECTED] on 06/13/2002 10:00:13 PM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]

To:   Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  Session Problem


Hi,

I have got an application in which I have got many modules.  Only one
module is with struts and the rest of the modules are using
pure JSP.  I notice that the modules using with struts is creating new
session and the modules with JSP are in another session.

Can anybody tell me how can I make them run in same session.

Thanks and Best Regards,


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








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




RE: Session Problem

2002-06-13 Thread Sudhir

where can i check the context path.

-Original Message-
From: Matt Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 9:59 AM
To: Struts Users Mailing List
Subject: RE: Session Problem


What are the paths for your application?  I believe the context path is not
the same.

 -Original Message-
 From: Sudhir [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 10:00 PM
 To: Struts Users Mailing List
 Subject: Session Problem


 Hi,

 I have got an application in which I have got many modules.  Only
 one module is with struts and the rest of the modules are using
 pure JSP.  I notice that the modules using with struts is
 creating new session and the modules with JSP are in another session.

 Can anybody tell me how can I make them run in same session.

 Thanks and Best Regards,


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



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



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




RE: Session Problem

2002-06-13 Thread Sudhir

Yes, they belong to same application and in same .war file.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 9:50 AM
To: Struts Users Mailing List
Subject: Re: Session Problem



Are they in the same .war file (the same webapp)?





Sudhir [EMAIL PROTECTED] on 06/13/2002 10:00:13 PM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]

To:   Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  Session Problem


Hi,

I have got an application in which I have got many modules.  Only one
module is with struts and the rest of the modules are using
pure JSP.  I notice that the modules using with struts is creating new
session and the modules with JSP are in another session.

Can anybody tell me how can I make them run in same session.

Thanks and Best Regards,


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








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



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




RE: Session Problem

2002-06-13 Thread Sudhir

Following is my context path setting.  Is this the one you mean context path.
If not can you suggest which tag.

  servlet
servlet-nameaction/servlet-name
servlet-classstruts.prjmgt.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
  param-valuestruts.prjmgt.ApplicationResources/param-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup2/load-on-startup
  /servlet

-Original Message-
From: Matt Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 9:59 AM
To: Struts Users Mailing List
Subject: RE: Session Problem


What are the paths for your application?  I believe the context path is not
the same.

 -Original Message-
 From: Sudhir [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 10:00 PM
 To: Struts Users Mailing List
 Subject: Session Problem


 Hi,

 I have got an application in which I have got many modules.  Only
 one module is with struts and the rest of the modules are using
 pure JSP.  I notice that the modules using with struts is
 creating new session and the modules with JSP are in another session.

 Can anybody tell me how can I make them run in same session.

 Thanks and Best Regards,


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



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



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




RE: Session Problem

2002-06-13 Thread Chakradhar Tallam

in server.xml

-Original Message-
From: Sudhir [mailto:[EMAIL PROTECTED]]
Sent: Friday, 14 June 2002 12:15 PM
To: Struts Users Mailing List
Subject: RE: Session Problem


where can i check the context path.

-Original Message-
From: Matt Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 9:59 AM
To: Struts Users Mailing List
Subject: RE: Session Problem


What are the paths for your application?  I believe the context path is not
the same.

 -Original Message-
 From: Sudhir [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 10:00 PM
 To: Struts Users Mailing List
 Subject: Session Problem


 Hi,

 I have got an application in which I have got many modules.  Only
 one module is with struts and the rest of the modules are using
 pure JSP.  I notice that the modules using with struts is
 creating new session and the modules with JSP are in another session.

 Can anybody tell me how can I make them run in same session.

 Thanks and Best Regards,


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



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



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



RE: Session Problem

2002-06-13 Thread Matt Smith

when you unpack the .war file, what is your directory structure like?

 -Original Message-
 From: Sudhir [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 10:16 PM
 To: Struts Users Mailing List
 Subject: RE: Session Problem


 Yes, they belong to same application and in same .war file.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 14, 2002 9:50 AM
 To: Struts Users Mailing List
 Subject: Re: Session Problem



 Are they in the same .war file (the same webapp)?





 Sudhir [EMAIL PROTECTED] on 06/13/2002 10:00:13 PM

 Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]

 To:   Struts Users Mailing List [EMAIL PROTECTED]
 cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
 Subject:  Session Problem


 Hi,

 I have got an application in which I have got many modules.  Only one
 module is with struts and the rest of the modules are using
 pure JSP.  I notice that the modules using with struts is creating new
 session and the modules with JSP are in another session.

 Can anybody tell me how can I make them run in same session.

 Thanks and Best Regards,


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








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



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


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




Re: Session Problem

2002-04-13 Thread Claudiu ANGHEL

Possible hint:
Seems to be a problem related to sessions :) Do you have the cookies enabled
in your browser? If not the session management will be done via encodeURL()

Which version of  Tomcat do you use?
Somewhere in
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/RELEAS
E-NOTES :
--
Bugzilla Bugs Resolved:
--

6846  dispatcher.forward() is confused when using special servlet
mapping URLs
6982  Stop + start of the context makes weird things
7061  Servlet loaded TWICE on application startup?
**7102  response.encodeURL() doesn't encode**
7171  FileStore directory must exists
7344  Tomcat appears to be case-sensitive with regard to the token
Basic
  in Authorization request parameter


- Original Message -
From: Leonid_Srl1 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 13, 2002 11:55 AM
Subject: Session Problem


Hi,

I used usual way to save logged user parameters:


In LogonAction class :
 session.setAttribute(Constants.USER_KEY, user);

where user is class.

In jsp file :

%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %

table width=700 cellpadding=0 cellspacing=0 border=0
BHello bean:write name=user property=fullName filter=true/
  Company: bean:write name=user property=companyName
filter=true//B

And here I got strange behaviour : old logged user is getting Hello recently
logged user with all
appropriate security.

There is a little similar case in
http://w6.metronet.com/~wjm/tomcat/2000/Jul/msg00316.html

Leonid.







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




Re: Session Problem

2002-04-13 Thread Leonid_Srl1

I have cookies enabled. I use tomcat 4.0.3.


- Original Message -
From: Claudiu ANGHEL [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, April 13, 2002 11:19 AM
Subject: Re: Session Problem


 Possible hint:
 Seems to be a problem related to sessions :) Do you have the cookies
enabled
 in your browser? If not the session management will be done via
encodeURL()

 Which version of  Tomcat do you use?
 Somewhere in

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/RELEAS
 E-NOTES :
 --
 Bugzilla Bugs Resolved:
 --

 6846  dispatcher.forward() is confused when using special servlet
 mapping URLs
 6982  Stop + start of the context makes weird things
 7061  Servlet loaded TWICE on application startup?
 **7102  response.encodeURL() doesn't encode**
 7171  FileStore directory must exists
 7344  Tomcat appears to be case-sensitive with regard to the token
 Basic
   in Authorization request parameter


 - Original Message -
 From: Leonid_Srl1 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, April 13, 2002 11:55 AM
 Subject: Session Problem


 Hi,

 I used usual way to save logged user parameters:


 In LogonAction class :
  session.setAttribute(Constants.USER_KEY, user);

 where user is class.

 In jsp file :

 %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %

 table width=700 cellpadding=0 cellspacing=0 border=0
 BHello bean:write name=user property=fullName filter=true/
   Company: bean:write name=user property=companyName
 filter=true//B

 And here I got strange behaviour : old logged user is getting Hello
recently
 logged user with all
 appropriate security.

 There is a little similar case in
 http://w6.metronet.com/~wjm/tomcat/2000/Jul/msg00316.html

 Leonid.







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


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




Re: Session Problem

2002-04-13 Thread Claudiu ANGHEL

A method used by me sometimes for debugging the session problems:
Change in the IE(6.0) in Tools-Internet options-Privacy-Advanced
Select prompt for cookies.
Now restart the IE (close all IE and then start IE again) and check the
values of session cookies (JSESSIONID) when you are going to different
pages.
This way you can isolate the problem: you can find if a new session is
generated when you are going to a new page or is something wrong with
storing the variables in the session.

- Original Message -
From: Leonid_Srl1 [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, April 13, 2002 12:28 PM
Subject: Re: Session Problem


 I have cookies enabled. I use tomcat 4.0.3.


 - Original Message -
 From: Claudiu ANGHEL [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Saturday, April 13, 2002 11:19 AM
 Subject: Re: Session Problem


  Possible hint:
  Seems to be a problem related to sessions :) Do you have the cookies
 enabled
  in your browser? If not the session management will be done via
 encodeURL()
 
  Which version of  Tomcat do you use?
  Somewhere in
 

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/RELEAS
  E-NOTES :
  --
  Bugzilla Bugs Resolved:
  --
 
  6846  dispatcher.forward() is confused when using special servlet
  mapping URLs
  6982  Stop + start of the context makes weird things
  7061  Servlet loaded TWICE on application startup?
  **7102  response.encodeURL() doesn't encode**
  7171  FileStore directory must exists
  7344  Tomcat appears to be case-sensitive with regard to the token
  Basic
in Authorization request parameter
 
 
  - Original Message -
  From: Leonid_Srl1 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, April 13, 2002 11:55 AM
  Subject: Session Problem
 
 
  Hi,
 
  I used usual way to save logged user parameters:
 
 
  In LogonAction class :
   session.setAttribute(Constants.USER_KEY, user);
 
  where user is class.
 
  In jsp file :
 
  %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
 
  table width=700 cellpadding=0 cellspacing=0 border=0
  BHello bean:write name=user property=fullName filter=true/
Company: bean:write name=user property=companyName
  filter=true//B
 
  And here I got strange behaviour : old logged user is getting Hello
 recently
  logged user with all
  appropriate security.
 
  There is a little similar case in
  http://w6.metronet.com/~wjm/tomcat/2000/Jul/msg00316.html
 
  Leonid.
 
 
 
 
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


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




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