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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Session Tracking

  • 21-03-2005 3:59pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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