Results 1 to 4 of 4

Thread: Help: Rememberme in Azure multi instance (with session affiliation) problem

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    5

    Unhappy Help: Rememberme in Azure multi instance (with session affiliation) problem

    Hi,

    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.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    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.
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

  3. #3
    Join Date
    Aug 2011
    Posts
    5

    Default

    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.

    Quote Originally Posted by Rob Winch View Post
    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.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    Did you try enabling debug logging?
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •