Session Problem

2002-04-13 Thread Leonid_Srl1

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.







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]