Opened 14 years ago

Closed 14 years ago

#14500 closed (worksforme)

Cookie not set in IE and no error message in login form

Reported by: stephanekonstantaropoulos Owned by: nobody
Component: contrib.auth Version: 1.1
Severity: Keywords: cookie, IE6
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

At a customer site, the computer time was 25 minutes in the future and my django session was set to expire in 20 minutes:

SESSION_COOKIE_AGE = 1200

The users could not login, that seems fair but there was no error in the login form, the login form should set a test cookie and then mention that the cookie could not be set. But the login form came back as is, empty.

This happened in IE6, I could not test with another browser.

Change History (1)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: worksforme
Status: newclosed

If the client's time is that far ahead, then it won't be sending back any cookie data. Django *does* set a test cookie, and checks it as part of the login process; if the test cookie can't be read, you should be getting a "Web browser doesn't have cookies enabled" error. That's what I get when I try to reproduce the circumstances you describe.

Closing worksforme. If anyone else can reproduce this set of conditions (and can provide more details on the setup required), please reopen.

Note: See TracTickets for help on using tickets.
Back to Top