Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

login cookie issue? 2.3.1

I install vanilla 2.3.1 clean, everything seems to be working but when i click login then click home it asks me to sign in again but if i refresh it logs me in. I have tried it on Mozilla, Explorer and Chrome it responds the same way.. I even tried from my phone

Comments

  • cannot logout out either

  • Hello, what OS are you using, and what permissions are set? Is there an 'error_log' in the forum root by chance?

  • @donovanb said:
    Hello, what OS are you using, and what permissions are set? Is there an 'error_log' in the forum root by chance?

    there are no errors in the log I am using php 7 and plesk

  • hmmm.... maybe a mis-match of https vs. http.. or perhaps a cookie path discrepancy (domain vs. subdomain)... or maybe a problem with expires? Does your site have secure SSL? Just guessing at stuff here... can you look at the cookies being set?.. for instance, here is an example I have when logged in (name, domain, path, Expires on, HttpOnly):

    Vanilla-Volatile dev.domain.com / Session / true
    Vanilla-Vv dev.domain.com / "Tue, 12 Sep 2017 17:41:45 GMT" / false
    Vanilla dev.domain.com / "Sat, 07 Oct 2017 17:47:42 GMT" / true

  • ChiprangChiprang New
    edited November 2017

    I am also facing the same issue. Sometimes i am in, sometimes i am out. Any fix?

  • @donovanb said:
    hmmm.... maybe a mis-match of https vs. http.. or perhaps a cookie path discrepancy (domain vs. subdomain)... or maybe a problem with expires? Does your site have secure SSL? Just guessing at stuff here... can you look at the cookies being set?.. for instance, here is an example I have when logged in (name, domain, path, Expires on, HttpOnly):

    Vanilla-Volatile dev.domain.com / Session / true
    Vanilla-Vv dev.domain.com / "Tue, 12 Sep 2017 17:41:45 GMT" / false
    Vanilla dev.domain.com / "Sat, 07 Oct 2017 17:47:42 GMT" / true

    Is Cookie in the Config that you are referring to?

    $Configuration['Garden']['Cookie']['Salt'] = 'Nu6EctlcY8JNbjjP';
    $Configuration['Garden']['Cookie']['Domain'] = '';

  • Bump

    I just updated to 2.5 and I am having this issue

Sign In or Register to comment.