]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/login_page_should_note_cookie_requirement.mdwn
bd52f1c21f29cc4f4f04e25acd6aa8b23e674679
[ikiwiki.git] / doc / bugs / login_page_should_note_cookie_requirement.mdwn
1 At the moment, you go through the login shuffle and then are told that cookies are needed, so you lose all your data and login again.  It would be much slicker to note by the edit link, or at least on the login page, that cookies are required.
2
3 > Hmm, it seems to me to be fairly obvious, since the vast majority of
4 > websites that have a login require cookies. Such warnings used to be
5 > common, but few sites bother with them anymore. --[[Joey]]
6
7 >> Very few websites break without cookies.  Even fewer lose data.
8 >> Can ikiwiki avoid being below average by default? --[MJR](http://mjr.towers.org.uk)
9
10 Even better would be to only display the cookie note as a warning if the login page doesn't receive a session cookie.
11
12 > I considered doing this before, but it would require running the cgi once
13 > to attempt to set the cookie and then redirecting to the cgi a second
14 > time to check if it took, which is both complicated and probably would
15 > look bad.
16
17 Best of all would be to use URL-based or hidden-field-based session tokens if cookies are not permitted.
18
19 > This is not very doable since most of the pages the user browses are
20 > static pages in a static location.
21
22 >> The pages that lose data without cookies (the edit pages, primarily) don't look static. Are they really? --[MJR](http://mjr.towers.org.uk)