Aug 22nd, 2012, 03:27 PM
Help: Rememberme in Azure multi instance (with session affiliation) problem
I have developed a spring application with rememberme. When I test this locally, on a testserver and in the Azure cloud with 1 workerrole (instance)
In these situations the rememberme works like it should.
Now the configuration of the Azure cloud has been changed to 3 instances with session affiliation active (sticky sessions).
But now the rememberme does not work anymore.
Anyone any thoughts on the direction I should look into for solving this problem.
Aug 24th, 2012, 10:54 AM
Are you using PersistentTokenRememberMeServices with an in memory database? If so you will need to switch to a database that is shared. If that doesn't help try turning on debug logging.
Aug 24th, 2012, 12:06 PM
I am using the db variation (with the persistent_logins table).
Iam guessing that the server, which handles the load balancing, is causing the problems, but Iam not sure. I just have too little knowledge of Azure cloud.
Originally Posted by Rob Winch
Aug 24th, 2012, 01:13 PM
Did you try enabling debug logging?
Tags for this Thread