Login problem in struts

M

MOHAN

Hi to all,
Iam using struts 1.1, java 1.4.2, mysql 4. for my application.
When user clicks submit in login page, calls action "loginuser.do",
here getting values from "loginForm" and checking in DB and creating
session and storing the login values (email and name,id) in session.
After logout (session.invalidate()), when user came back using back
button and refersh the browser, it is automatically logins to that
user again with creating new session.
It is happens only when refreshing on "loginUser.do" url,
for other ".do" 's in the application, while refreshing redirects to
login page.
I found, when i refreshes the browser at "loginUser.do" it
automatically getting the user previously entered values from
loginForm and logging in again into his account by creating new
session.
I also wrote reset method in loginForm. but no use.I cant find where i
did the mistake.
How the values are coming back into loginForm?
How to rectify this.
Please help me on this issue....
Thanks in Advance

Regards,
Mohan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top