This is a great extension but once I found it I wonder if it will handle my endless karma : Redirection. All proxy sites have problems with the LastAccesUri Session variable, because many templates are cached on the proxy and once one user login, this session variable will be kept on proxy cache so all users from here on will be redirected to the cache session after login variable.
I have tried many things but they don't have the desired results:
1. Sending redirect url to the user/login module based on GET parameters
For example: user/login?redirect=yourredirect
But if you make a mistake in login user or password the GET parameters will be lost on redirection. Of course template ttl=0 to user/login and the cache-control=no-cache on the headers
2. Setting a new session variable based on ajax changing.
Once the page loads I send the current URL to an ajax module to set a new session var
iable and I read this session variable on the /user/login template. Of course template ttl=0 to user/login and the cache-control=no-cache on the headers.
The problem with this one is that is works randomly...I dont know why please suggestions.