Forum Discussion

JP_135500's avatar
JP_135500
Icon for Nimbostratus rankNimbostratus
Jun 05, 2014

Original URI is lost when user logs in after failed login attempt

I was hoping I could get some help with the APM... Here's an example of what issue I'm trying to solve:

 

Billy navigates to www.abc.com/admin, which requires permission to access. The APM fires up and sends Billy to the login page. Billy accidentally mistypes his username or password and is presented with an access denied page. Billy clicks the link to open a new session and enters username and password correctly. However, Billy is now sitting at www.abc.com instead of the desired URL of www.abc.com/admin.

 

When Billy does not mistype credentials the first time, he is taken to his desired URL without fail.

 

What do I need to do either in the Access Policy or in an iRule to retain this URL? Right now, I am storing it in a session variable, which obviously does not exist between sessions. This seems like a fairly common scenario that all you experts have tackled... hopefully some insight can come my way. :)

 

Thanks!

 

6 Replies