• Rememer Me - more databases

    By Matteo Veronesi 1 decade ago

    I have an application distributed across multiple databases and login is possible from different positions.
    I have replicated the custom control on the various NSF and use the same "cookieDomain" properties.
    Remember me not working. Every database stores your username and password.
    Username and password are not stored in cookies? The session cookie is connected to the database?

    thanks and bye

    • try .domain.com (dot + domain) for mysite.domain.com

      By F. Kranenburg 1 decade ago

      Good question.

      The Dojo documentation explains when a cookie is saved and access across mulitple applications in the same domain you should add a dot before the domain. I can not test it here, but it should add a cookie when you log in.

      • i try it

        By Matteo Veronesi 1 decade ago

         I tried it on IE7 and  IE8.

        It seems to create a separate cookie for each NSF. The cookie name is "database.nsf / ".

        Do you know where to find detailed documentation dojo 's for the object dojo.cookie?

        Thanks

        • Solved

          By Matteo Veronesi 1 decade ago

          solved by setting the path: "/" in the parameter cookieProps

           

          bye