I am developing a web-site,in which client have to log in,, after recognisation of correct user i have created a session..
ERROR : Now i am opening new tab in the same browser, and my web page allows another user to log-in?
I WANT : when new tab is open in the same browser where a user is already loggedin, the new page in new tab gets redirected to the logged in user's profile page..
REMEDY : I have tried to use scriptlets in my Home page, and validate if session does not exists, then open Home page , else connect with data base and open valid user's profile page... Still its not working..