Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Remember login feature
nuttiha
Hello, I'm trying to implement this features which allows the website user to select a 'remember me' checkbox when logging in so the next time they visit the site they will be logged in automatically. More or less I know how to implement this using cookies and redericting using livesite controllers.
But the problem is you don't have control over the automatic redirect livesite does when trying to access a page that requires a login. It automatically goes to the login page you configured in the default.site.
If I could change the login page to a custom url like login.page?componentID=1206555795934&iwPreActions=AutoLogin I should be able to preprocess the login page and log in the user through cookies etc... and redirect to the requested page without ever showing the login page.
Is this possible and are there any other suggestions implemting this feature?
Thank you!
greetings Hans
Find more posts tagged with
Comments
AlexC
This is available in 3.1.
The secured page redirection is done before any livesite code is executed (this is done at filter level before 3.1). The way to override it may be to write a custom filter to handle this before livesite filters and do the redirect then. There may be other ways.