-
1. Re: How can I get a script to run after a user has logged in?
jfclere Apr 20, 2012 5:44 AM (in response to richard-gillespie)hm no really sure what you want to do....
Does the login page contains all the application needs? Probably you need a filter to add what is missing.
-
2. Re: How can I get a script to run after a user has logged in?
richard-gillespie Apr 20, 2012 8:20 AM (in response to jfclere)Part of the problem is that much of the war was created in Flash/Flex which I don't know. I'm leaning to re-write the script so that it doesn't redirect to other pages and just loads the required data. That way I could run the script when the main page is loaded up.
But if there was an easy way to either
- run the script after JBoss performs the login (a hook some where that I can attach a script to)
- or to set the security so that it will redirect the user to the login page no matter what location they are requesting when not logged in
Also, I should note that the script runs in the login page when the user goes to the log in page and is already logged in. The script redirects back to the main page so in it's current form can not be moved to the main page (would get a redirect loop).
-
3. Re: How can I get a script to run after a user has logged in?
richard-gillespie Apr 20, 2012 9:55 AM (in response to richard-gillespie)Script was rewritten so that it posts data to the necessary locations ann no redirects are used.