This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all, I have my struts application where i store the user information in the session in the coreaction (extends action)as soon as they login and in the other parts of my application i check weather the employee detail is present in session and then only i let user to access the page. now my problem is people can able to hack my application like they save my login page as webpage and submit the username and password in the form and in another webpage they pass the url of my intime page where the session is maintained . how to come across this problem
First of all, session has nothing to do with broswer window.
1. closing the browser need not be end of session. 2. re-opening another instance of parent window and working with that instance is also possible.
So it is possible that an user sends multiple requests (through multiple browsers)in the same session, So here we have to get prepared(allowing single request to process crutial code) for avioding "Data sharing problems". [ May 16, 2008: Message edited by: Srinivasan thoyyeti ]