1

1

Problem:

You can't stay logged in to FogBugz. You log in, as soon as you click on something you are prompted to log in again.

flag
I have also seen this happen if you change the case of any of the letters in the URL. Fogbugz seems to be case sensitive with the URL. For example, if I change a word in the URL to uppercase it won't let me log in, even with the correct credentials. – JohnFx Aug 18 at 20:10

2 Answers

2

Description:

There are two areas where the problem may be occurring: either client side cookie handling, or database permissions. FogBugz uses cookies to keep you logged in. The cookie in turn merely points to your session information stored in the database.  

Solution:

1. Cookie handling: Instruct your browser to accept cookies. This is the default setting in IE, so restoring IE to defaults should do this right off the bat. In IE there are various approaches:

View > Internet Options > Privacy tab > Advanced > select Accept

Or Privacy Tab > Edit (Web Sites) > add your FogBugz server to the Allow list

Also note that the way cookies work, URLs are considered case sensitive for the purpose of setting cookies. If you have logged onto http://example.com/FogBugz, you will not be logged onto http://example.com/FogBUGZ because the capitalization of FogBugz differs.

2. Database permissions (Licensed FogBugz problem only): The database login that FogBugz uses must be the db owner for the FogBugz database. If it isn't, this problem will occur (or you will get an error message).

A recent problem where no POST variables are accepted by IIS can cause this too.  To check this, create a test.asp file with the following in it inside the FogBugz website directory:

<% Response.Write Request("foo") %>
<form method="POST">
<input type="text" name="foo" />
<input type="submit">
</form>

Load this page in a browser and type some text and hit submit.  If nothing appears, please see this MSFT KB article which describes problems with Windows Authentication.

link|flag
At least some of this answer is quite dated. There's no way to run a test.asp file in FogBugz 7. – Ted Feb 16 2010 at 19:52
1

If you are using IE8, the below steps worked for me:

Problem statement: Logging into FogBugz (7.2.8) with the "remember me" box ticked on IE8, FogBugz does not hold the logged in state and logs me out as soon as I try to do anything.

Solution:

  • Start IE8
  • Select Tools|Internet Options from the menu.
  • On the General Tab, under Browsing history, I clicked the "Delete..." button.
  • I un-ticked "Preserve Favorites website data".
  • I made sure all the other check boxes were checked, including "Cookies". (just ticking "Cookies", did not solve the problem for me).
  • I clicked "Delete". It popped up a progress dialog at this point. It took a minute or 2.
  • I was then able to log into Fogbugz with "remember me" checked, and it is now holding my login.
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.