3 Replies Latest reply on Apr 20, 2012 9:55 AM by Richard Gillespie

    How can I get a script to run after a user has logged in?

    Richard Gillespie Newbie



      I have inherited a web application running in JBoss 5.1, it has the Jboss Security set up, using the Form based security. The way it was designed was that a user would go to the login page and then login. Once they were logged in, it would redirect the user to a script that would load the start up data and then redirect them to the main page. This work as designed, but some users have bookmarked the main page. When they go to the bookmarked page while not logged in, they are prompted to login, and then they go directly to the main page without loading the start up data which crashes the app.


      Is there a way to either run the script after they have logged in or force them to the login page?