redirects after ogin
I have a page that records login stats and creates loads of session variable depending on the SecurityAssist_UserID. These sessions come from several different tables and recordsets.
(On the login page, there isn't the option to create these session variables from different table - unless there is a way?)
When a user tries to access a restricted page without logging in, they are redirected to the login page, then on to the previously requested page. However, this bypasses the stats page and none of the extra session variables are created.
I've tried to create (on the login page) a Session Variable called 'accesscheck', based on $_GET['accesscheck'] if someone's tried to access a restricted page, but this still bypasses the stats page!
Any suggestions on the best way to accomplish this?