You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Diny <di...@visiontss.com> on 2008/11/14 11:13:00 UTC

session collision

Dear friends,

         I am using struts framework. when i login to my application there
was session collision occurance. 

steps for your clear view

          1. Entering username and password in jsp
          2. Fetching login action and then it is going upto DAO and
verifying it.
          3. after retrun back to action am setting username, password and
rolename
              (here am facing problem) session is not updating if am
entering two different user and password
             at the same fraction of second
          4. from there the action is transferred to another action, here am
getting both are same.

How to over come this problem? if it is not clear please drop me a mail in
dinesh@visiontss.com i will clearly explain u... 

Thanks in advance
-- 
View this message in context: http://www.nabble.com/session-collision-tp20497766p20497766.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: session collision

Posted by Lukasz Lenart <lu...@googlemail.com>.
2008/11/14 Diny <di...@visiontss.com>:
>
> Dear friends,
>
>         I am using struts framework. when i login to my application there
> was session collision occurance.

Struts version?

> steps for your clear view
>
>          1. Entering username and password in jsp
>          2. Fetching login action and then it is going upto DAO and
> verifying it.
>          3. after retrun back to action am setting username, password and
> rolename
>              (here am facing problem) session is not updating if am
> entering two different user and password
>             at the same fraction of second

Multi-thread problem, did you check your action for such case?



Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org