Ticket #8181 (closed defect: duplicate)
Opened 3 years ago
Last modified 3 years ago
Trac isn't saving auth cookie on login
| Reported by: | robert.royall@… | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | web frontend | Version: | 0.11.4 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
I just installed the Trac 0.11.4 on Windows Server 2003 under Apache 2.2.11 with mod_python and mod_auth_sspi 1.0.4 hitting the company AD for authentication. I only have my own user account set as TRAC_ADMIN and my test project is the basic template created by trac-admin initenv.
The problem I'm getting is the "Missing or invalid form token. Do you have cookies enabled?" error on IE7 when making changes or new wiki pages/tickets. Firefox 3 works just fine. I did some research through old tickets but nothing seemed to fix the problem. I think I finally nailed down what the real error is but I'm not sure what's causing it.
On opening the first project page I get only a trac_session cookie. Upon login, the trac_session cookie disappears and I don't have any trac cookies on disk at all. In Firefox 3.0.7 I have 3 cookies - trac_auth, trac_form_token and trac_session. I've gone through all of the configuration steps I took and I've followed the TracOnWindows and TracOnWindows/Advanced + TracModPython guides as closely as possible. I have checked Apache and made sure that usertrack_module is not loaded so it doesn't interfere with setting cookies.
I'm hoping this is just a configuration problem on my end (since I can't seem to find anyone with this particular error) but I can't seem to get any information about what might be going wrong.
Attachments
Change History
comment:1 Changed 3 years ago by thatch
- Resolution set to duplicate
- Status changed from new to closed
comment:2 Changed 3 years ago by robert.royall@…
You're probably right but when I looked previously at #4560, it might have been fixed in a later version so I thought it might be a new problem.
comment:3 Changed 3 years ago by wiethoff@…
- Priority changed from normal to high
Hey,
we have the same Problem after updating to 0.11.4 (from 0.11). The issue is not IE-specific. Same in Firefox. Trac runs on an ubuntu-server.
Greetings,
Helge



I'm 99% sure this is the same as #4560. See also #2310.