Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Session Tracking

Options
  • 21-03-2005 4:59pm
    #1
    Registered Users Posts: 3,012 ✭✭✭


    Hi,

    Have a servlet that preforms a simple login check against a database and redirects onto a jsp page.
    Was wondering if anyone could tell me how to make sure these pages can only be accessed once the Servlet has checked the log in.
    I have it working by simply passing a value in the jsp link, but this isn't secure at all. I don't need to know anything complex, just the easiest way to do it without passing variables in the url.

    Thanks.


Comments

  • Closed Accounts Posts: 324 ✭✭madramor


    easiest way

    in the check servet add a value to the session
    in the jsp check the session to see if the check value is in it


  • Registered Users Posts: 3,012 ✭✭✭BizzyC


    madramor wrote:
    easiest way

    in the check servet add a value to the session
    in the jsp check the session to see if the check value is in it
    Thanks, I'll do that then.


Advertisement