1 Reply Latest reply on Jul 16, 2013 2:26 AM by navinkaushal

    How to Auto Login after registeration


      I have the following requirement and I've spent some time trying to experiment and looking for solutions but have failed to come up with anything that works.



      > Register the user in CQ

      > Automatically login the user once he registers

        > The user should stay logged in (remember me forever)


      I've am able to succesfully register the user using the OOTB examples. I created my own register form action based off the libs/foundation/components/actions/update/post.POST.jsp file.


      I've looked into several api's to figure out how to auto login once the 

      am.getOrCreateAccount() call finishes successfully


      I tried



      Even tried the httppost way described on this thread: http://forums.adobe.com/message/4896922


      If anyone can point me in the right direction would really appreciate it!


      thank you!!