How to make a persistent cookie

6 years 8 months ago #264454 by jstuardo
How to make a persistent cookie was created by jstuardo
Hello...

I need to keep user session so that when user closes his browser, and then opens it again, the page starts with the user logged in.

Is it possible to configure CB for this?

Best regards,
Jaime

Please Log in to join the conversation.

6 years 8 months ago #264483 by nant
Replied by nant on topic How to make a persistent cookie

jstuardo wrote: Hello...

I need to keep user session so that when user closes his browser, and then opens it again, the page starts with the user logged in.

Is it possible to configure CB for this?

Best regards,
Jaime


Remember me check-box in CB Login module?

Please Log in to join the conversation.

6 years 8 months ago #264492 by jstuardo
Replied by jstuardo on topic How to make a persistent cookie
Thanks.. but what about Facebook connect? that check will also affect it?

I have added
<input type="hidden" name="remember" value="yes" />
to the mod_cblogin module.

Best regards
Jaime

Please Log in to join the conversation.

6 years 7 months ago #264515 by krileon
Replied by krileon on topic How to make a persistent cookie
CB Connect won't use the remember me. It needs a token from the social site to grab their social site id to validate the login. So it can't use the remember me to maintain secure login via social site.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.186 seconds

Facebook Twitter LinkedIn