Login Form - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Community Archive (https://community.mybb.com/forum-106.html) +--- Forum: Archived Forums (https://community.mybb.com/forum-143.html) +---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html) +----- Forum: MyBB 1.2 Series (https://community.mybb.com/forum-3.html) +------ Forum: MyBB 1.2 General Support (https://community.mybb.com/forum-4.html) +------ Thread: Login Form (/thread-25089.html) |
Login Form - 3v0x - 2007-10-27 I was creating a web site that uses MyBB forum software like mysite.com with mysite.com/forums/. I want to have a login form on mysite.com that logs them in on forums and then redirects them to the main site not forums.
WHen they click the Login button it takes them to the target forum login page says theyve been successfully logged in and will be redirected. it does redirect them back to main site. The problem here is that when you go to forums afterwards it says there not logged in, even though theres an entry for the person in mybb_sessions. Any ideas? It does work if they are not redirected to main site, works if there brought to forums instead. RE: Login Form - MrD. - 2007-10-27 What is your cookie domain and path set to? RE: Login Form - 3v0x - 2007-10-27 MrDoom Wrote:What is your cookie domain and path set to? Domain is set to nothing, cookie path is set to / RE: Login Form - Dennis Tsang - 2007-10-29 What is the URL of your website? |