Skip to Content Skip to Menu

[SOLVED] CBSubs logging user out

  • SaboHCM
  • SaboHCM
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
12 years 6 months ago - 12 years 6 months ago #180345 by SaboHCM
[SOLVED] CBSubs logging user out was created by SaboHCM
Just installed the latest CBSubs and running CB 1.4 and here is the problem:

1) User logs in and goes to profile
2) User clicks to renew plan
3) User is logged out and to our normal subscribe screen

This has just started happneing since upgrading and does not happen anywhere else on the website when switching back and forth between http/https

I have HTTPS being forced on all CBSubs forms and keeping the user logged in on both sides.

Any suggestions?
Last edit: 12 years 6 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68605
  • Thanks: 9108
  • Karma: 1434
12 years 6 months ago #180494 by krileon
Replied by krileon on topic Re: CBSubs logging user out

CB 1.4 and here is the problem:

Please upgrade to CB 1.7.

I have HTTPS being forced on all CBSubs forms and keeping the user logged in on both sides.

You can't force HTTPS yet accept HTTP. You need to ensure it is set to log the user out of HTTP and log them into HTTPS. Please test with the below configuration.

User login session on https switchover: Logout user from http on https switchover
Credit-Card Form http(s) mode: HTTPS (normal secure mode required for normal credit-cards)

Please note if you're not accepting payments onsite (using PayPal for example) you'll have no need for HTTPS as the transaction would be handled at the gateway.


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 or Create an account to join the conversation.

  • SaboHCM
  • SaboHCM
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
12 years 6 months ago #180621 by SaboHCM
Replied by SaboHCM on topic Re: CBSubs logging user out
Tried your settings but it still logs me out the minute I hit the renew button on my subscription and then redirects me to the full sign up form I created. Guess I'm going to be forced to upgrade CB to 1.7 even though CBSubs is supposed to be compatible from 1.4 - 1.7

Please Log in or Create an account to join the conversation.

  • SaboHCM
  • SaboHCM
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
12 years 6 months ago #180671 by SaboHCM
Replied by SaboHCM on topic Re: CBSubs logging user out
Ok upgraded to CB 1.7 and ran all the CB Tools checks and everything checks out but I'm still getting logged out and pushed to the main subscription page as soon as I click to renew.

Please Log in or Create an account to join the conversation.

  • SaboHCM
  • SaboHCM
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
12 years 6 months ago #180674 by SaboHCM
Replied by SaboHCM on topic Re: CBSubs logging user out
You can close this, it ended up being an issue with the login module, I created a brand new login page and it works now. Something must have been screwy with the old one and it wasn't fully logging the user in to both http/https, thanks for the help.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn