How to Auto Login after registeration


i have following requirement , i've spent time trying experiment , looking solutions have failed come works.

 

requirement:

> register user in cq

> automatically login user once registers

  > user should stay logged in (remember me forever)

 

i've able succesfully register user using ootb examples. created own register form action based off libs/foundation/components/actions/update/post.post.jsp file.

 

i've looked several api's figure out how auto login once the 

am.getorcreateaccount() call finishes successfully

 

i tried

repos.login(creds);

 

even tried httppost way described on thread: http://forums.adobe.com/message/4896922

 

if can point me in right direction appreciate it!

 

thank you!!

hi,

 

how did create sign page. tried create user registration page using "create , update account" form action, not create new user account.

 

can please me if there missing?

 

-navin



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support