 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Dec 29, 2004 11:44 pm
Cookies and SIDs |
ok If I go to the main page
www.zuggsoft.com/mx and log in I get a cookie created for www.zuggsoft.com but when I go to the forums forums.zuggsoft.com it doesn't think I am logged in unles I click on the
SITE->Login menu and login at forums.zuggsoft.com same goes if I arrive via emobious.com
Maybe setting the cookie doman to zuggsoft.com in PHPBB's config screen might work? |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jan 07, 2005 5:52 pm |
The PHPBB software had cookies disabled and was using session IDs instead.
I enabled cookies and set the cookie domain as you suggested. Let me know if that helps. |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Jan 08, 2005 8:04 pm |
Without my PhpBB admin panel infront of me this might be a little inaccurate cookies are a way of life I think in PHPbb if you have cookies disabled it just passes the SID in the browser if you have stay-logged-in checked phpbb stores a cookie regardles. with the SID but since you have three domains www.zuggsoft.com forums.zuggsoft.com and www.emobius.com all pointing to html_root/mx/index.php?page it would store an SID for each logged in domain which wouldn't work across domains or some such nonsense like that :P
But now the good note: So far so good. I was able to log in at emobius.com and it carried over to forums.zuggsoft.com I was also able to log out site-logout without getting invalid session error. (didn't test by closeing browser yet) |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Jan 09, 2005 6:52 pm |
I haven't had any problems with the logins carrying over to other locations. However since the change when displaying each forum it no longer highlights the new topics. The forums that have new topics show yellow in the main index (http://forums.zuggsoft.com/phpbb/index.php), but all are white in the specific forum pages.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Jan 11, 2005 4:39 am |
Is there *anyone* willing to work on these login and "new topic" issues? I'm so swapped with zApp and eMobius work (not to mention some upcoming work for zMUD icon bidding), that I just don't have time to deal with this. Somehow MX Portal and PHPBB are not getting along. It's probably just an issue of proper configuration for both. But I have very little knowledge of how PHPBB actually works. So if there is anyone who knows PHPBB pretty well, I'd love to exchange some emails on how to maybe get this all working better. Seems that it's getting worse and not better.
|
|
|
 |
slicertool Magician

Joined: 09 Oct 2003 Posts: 459 Location: USA
|
Posted: Sun Jan 16, 2005 8:54 pm |
a lot of the problem from what I can tell about losing login status is that many of the links in the menus at the top are absolute links instead of relational, such as: I go to www.zuggsoft.com and login. I click one of the links at the top and it takes me to forums.zuggsoft.com where I have to re-login. I'm now logged into forums.zuggsoft.com, but when I try to post a topic, it puts me into a secure connection (where I have to log in again) so I can post.
I believe changing just the menu links to relational instead of absolute will fix a _lot_ of this confusion though.
(and if everything is relational instead of absolute, then cookies might work again) |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sun Jan 16, 2005 9:33 pm |
These links *must* be absolute, I'm afraid. This is because the same header file is included on different sites, such as the eLicense electronic store site.
But the problem is still something else because I don't have any trouble with any of this. So there has to be another solution. |
|
|
 |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Mon Jan 17, 2005 10:14 pm |
Zugg try this:
In Internet Explorer:
1. Tools->Internet Options
2. Press 'Remove Cookies'.
3. Press 'Remove Files' and make sure all the files are removed.
4. Close IE.
5. Try to login to Zuggsoft forum.
Some fun things to try after above procedure:
* Stay logged on and press a reply button somewhere. Forum will take you to a https connection! That is even more secure than Site->LogIn and more annoying too as IE keeps asking if you want to show insecure objects all the time while in https on the forum.
* The forum will send emails of new replies with a https:// link. Again this is annoying for the reason mentioned above.
* Try pressing "Forums" after logged in. You'll now be logged out even if you selected to automatically login. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jan 20, 2005 6:18 pm |
I found that somehow the Cookie configuration had gotten set for "SSL enabled" which is what was causing the https:// link problems. Even I started having wierd problems trying to get to the Admin page.
So, that should help with some of the problems people are having, at least with the https stuff that Rorso reported.
Unfortunately, I can't just remove all of the cookies and IE files on this computer. That would mess up too many sites that I use on a regular basis. I need to find a different computer (maybe my laptop) that I can experiment with for this. But Rorso, let me know if this fix helps with the problem. |
|
|
 |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Thu Jan 20, 2005 6:56 pm |
It seems to work now. Not only does it use http:// links but the autologin feature seems to work as well! Thanks for fixing it.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jan 20, 2005 7:01 pm |
Cool, I'm glad that's all it was. I was going crazy trying to figure out why everything was suddenly so broken. I think I must have enabled SSL cookies when I changes the cookie domain for some reason.
Good, now I can spend more time thinking about eMobius instead of worrying about something left over from the PHPBB security problem. I was starting to get worried that our scripts had gotten tampered with or something. |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Jan 21, 2005 10:49 am |
This also fixed the problem I was seeing. Everything seems peachy now.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
|
|