Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Users having to log in twice?
While I'm fixing things on my forum, I thought I'd address this issue as well! Before I launch into the problem, I'm really grateful for all the help everyone here provides. You guys all make Vanilla so much more appealing.
Anyway, on with the problem...
Lots of my users are complaining that they have to log into my forum twice. It's a variety of users on different platforms and browsers... but it doesn't affect me. Even though the cookie is set to the forum (and sub-domains), it doesn't remember a lot of people as well.
I've done a search but can't find a discussion here that addresses the problem.
Any ideas?
0
Comments
www.yourdomain.com/forum/
AND
yourdomain.com/forum/
Problems arise when a user follows a link without the www and then get signed in to the url *with* the www. Or vice versa.
I've been able to rectify the problem here at the community forum by setting my cookie domain to .lussumo.com - which means that the cookie applies to every subdomain possible on lussumo.com.
However, it might have something to do with your php session's cookie domain. I've never had to mess with the domain of my session cookies - the defaults seem to work fine for me. But you can force it to the same as your vanilla cookie with the session_set_cookie_params php function.
That function needs to be called on every page load and *before* the session is created, so you should be able to add it to your conf/settings.php file and have it work for you.
If you give it a shot and it works, come on back here and tell us about it. I might end up adding it into the core.
Something like this should work:
session_set_cookie_params(0 , $Configuration['COOKIE_PATH'], $Configuration['COOKIE_DOMAIN']);
This could be interessting for the problem too: http://lussumo.com/community/discussion/4492/small-bug-in-the-webpath-to-vanilla-application-settings/#Item_0
I cite it: Bye
Tiggr
There is no conf/settings.php on my forums! I am having the same problem on www. and without www.