MyBB Community Forums

Full Version: Unable to login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I tried that, then i restarted the server but it only logs me in and then shows me as guest again



# HTTPOnly Cookie
<IfModule mod_headers.c>
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
</IfModule>


* Leaving answer here for future google visitors

Are these causing the issue, any of them?
Quote:path > www/html/

is that your root directory ? I'm confused about php cookie path - can it be set to /
Yes that's the root, the cookie is set to "/"
oh, below rule could be affecting cookie set ! - remove and check login process
# HTTPOnly Cookie
<IfModule mod_headers.c>
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
</IfModule>
(2016-03-09, 08:08 AM).m. Wrote: [ -> ]oh, below rule could be affecting cookie set ! - remove and check login process
# HTTPOnly Cookie
<IfModule mod_headers.c>
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
</IfModule>

I tought so too, but i didn't try it yet. Seems that was the problem, but strangely that worked fine with phpbb.
Pages: 1 2