Announcement Announcement Module
No announcement yet.
Persistent Cookies Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Persistent Cookies

    I have a REST api that is not part of my Grails App.
    My Grails App logs in via the api (so the users belongs to the api, not to the app itself) and set parameters like "userId", "name" in the session scope. When i log in, it works well, but i have a problem: when i close the browser and enter my app again, i'm logged out. I want to implement a "Remember Me" function, so i need to know how to extend the time of the session.
    And no, i'll not use plugins like Spring Security or Shiro because that plugins implement users in the Grails App domain, and my users are not part of my app domain (they are part of the api domain, who is made in Java and is a sepparate application).

    Last edited by santiagopoli; Nov 4th, 2011, 10:26 AM.