Hi,

I am getting Bad Request: Missing or Invalid Token (Do you have any
cookies enabled?) Error when tried to login from different browsers
with different credentials simultaneously. But still it is not
consistent. I am using Trac 0.11.2.1 on Windows machine. Other
specifications - Apache 2.2 with Python 2.5.
Also for login I am using LDAP authentication.

I tried to debug the code (main.py and chrome.py) and found that
sometimes the __FORM_TOKEN value is not getting updated when someone
else tries to login at the same time someone is actively using the
Trac.

Steps used to generate this error -
1. Login to Trac from machine 1 with user1 creadentials (it logs in
correctly without giving this error)
2. Login to Trac from some other machine - machine2 with same/other
user - user2

But it is not consistent.

Debug output:
## After step 1
__FORM_TOKEN : 76e8876637eec463ba98779e
req.form_token: 76e8876637eec463ba98779e

## After step2
__FORM_TOKEN : 76e8876637eec463ba98779e
req.form_token: c47df14e2efac9888fd7ffb7

And as the __Form_TOKEN and req.form_token are not matching, the error
is displayed. But I am not getting why the __FORM_TOKEN value is not
getting updated for a new instance.Is this something related to
threads used in Python code?
Can anyone please help me to resolve this issue?

Thanks in advance

-Sneha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to