-
Nov 4th, 2011, 10:11 AM
#1
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).
Thanks!
Last edited by santiagopoli; Nov 4th, 2011 at 10:26 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules