Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

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

  • Options

    cannot logout out either

  • Options

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

  • Options

    @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

  • Options

    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

  • Options
    ChiprangChiprang New
    edited November 2017

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

  • Options

    @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'] = '';

  • Options

    Bump

    I just updated to 2.5 and I am having this issue

Sign In or Register to comment.