FogBugz Technical Support

A forum for technical support discussion related to Fogbugz.
The current FogBugz Knowledge Base can be found at

Posts by Fog Creek Employees are marked:

Release Notes
Network Status

FogBugz 5.0.17 logs me out after an hour or two

I am running Firefox 2.0 under WinXP SP2.  I log into FogBugz 5.0.17, tell it to remember me at this computer, and after an "idle period" I discover I have been logged off.

I am not quite sure how long the idle period is, but it is under 2 hours.  I am estimating about 1 hour.  During this period I can be at my computer active on other websites, or working in other programs, or even leave my computer completely.  Exactly the same effect happens.

But if I keep working in FogBugz then I stay logged in.  When active I can stay logged in all day (8 hours) without a problem.

If I use IE 7 then I do not get this problem.  If I use Firefox running under win2k inside a virtual machine I do not get this problem.

Cookies and JavaScript are both enabled in Firefox.  I have tried a new profile (with the same extensions installed), but get the same problem.  I have taken my current firefox profile (and all extensions) and copied it into the virtual machine, and there is no problem there.

I have tried changing my software firewall settings, it made no difference.

I have found this FAQ, but since cookies are allowed and I can stay logged in by being active it does not seem to help:

My working theory, it is something about this computer, but what?

I can offer the following, odd, clue.  I run TaskSwitchXP, available from here:

I have run this for years, and never had a problem.  I ran this alongside Firefox and FogBugz 5.x ever since FogBugz 5.x was released, until IE 7 wanted to install its self via windows update.  In one day I installed IE 7, Microsoft Windows Defender and the latest version of AVG anti-virus.  After that every time I alt-tab *away* from FogBugz running inside Firefox the hotkeys are activated - which is VERY irritating.

This seems to indicate something in the computer changed, presumably a dll (wild guessing now) but I don't understand why this would have this effect on FogBugz.  No other sites are effected.  This may or may not be related to the getting logged off problem, but it does indicate something local is effecting the website.

Can anyone offer any ideas, things to try, tests to run, to try and fix either problem?

I want to try and disable hotkeys in FogBugz via a Greasemonkey script, but so far I have no idea how to do this *shrug*
Colin Dearing Send private email
Tuesday, December 19, 2006
Having reported this I decided to double check the cookie Firefox is storing.  I located the file:

C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\xxx.yyy\cookies.txt

which seems to hold all of the current cookies.  Opening this file with a text editor I copied out the line that applied to FogBugz, identified by the IP number of the server, since the home page for FogBugz is:

I then did some other work, and when FogBugz had decided to log me out I copied the line from the cookies file a second time.  The two lines are 100% identical, based on using Find in notepad.

I don't know if this proves anything or not, but assuming there should only be one line in this file (I don't know if this is a valid assumption or not) it seems to prove the cookie is being stored and preserved on disc correctly.
Colin Dearing
Tuesday, December 19, 2006
Are you using a shortcut to reach FogBugz?  Or are you typing the url directly?  If you are using a shortcut, make sure it doesn't have pg=pgLogOn anywhere in the url.
Michael H. Pryor Send private email
Tuesday, December 19, 2006
Normally I already have one or more open tabs pointing at FogBugz, so I get what ever URL the current tab is using when I have to log in again.

I have just been running some more experiments, and I have found the following.

A completely clean profile, untouched by human hands, on my main machine will keep me logged into FogBugz for 3 hours when I am away from the machine.

My main profile, with all of my plugin's disabled and Firefox restarted for this to take effect still logged me out after 2 hours, but I had been slightly active in Firefox at the end.

It seems that there is a problem in this profile, now I just have to find it *sigh*  it would be easier if I could make the problem show up more quickly.

Any ideas on actions I can try that might trigger this problem, so I can run through tests more quickly to try and find the cause of the problem?
Colin Dearing
Wednesday, December 20, 2006
4 days into rebuilding my profile, very slowly, putting back one firefox extension a day, and so far no problems with FogBugz.

So I am getting there, finally :)
Colin Dearing
Sunday, December 24, 2006

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz Bug Tracking and Evidence-Based Scheduling.