[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to login to DDTSS



hi


On 08/12/2011 11:03 AM, Damyan Ivanov wrote:
Hi, seeing that Bulgarian is now acivated (thanks!) I wanted to give
DDTSS a try. However, it seems I am not able to stay logged in.

What is observed:

  * Login creation completed successfuly.
  * Attempting to access https://ddtp.debian.net/ddtss/index.cgi/bg
    suggests to follow the Login link, which I do.
  * Entering alias/password leads to a page that says "Login
    successful"
  * Following refresh to the original page still suggest to Login.

Cookies are enabled, here are the HTTP logs (courtesy of Firebug):

Request:
  GET /ddtss/index.cgi/bg HTTP/1.1
  Host: ddtp.debian.net
  User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 Iceweasel/5.0
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: en-us,en;q=0.5
  Accept-Encoding: gzip, deflate
  Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
  Connection: keep-alive
  Cookie: id=<username>%3A<some hash>_%2Cbg

Response:
  HTTP/1.1 200 OK
  Date: Fri, 12 Aug 2011 08:42:35 GMT
  Server: Apache/2.2.16 (Debian)
  Expires: Fri, 12 Aug 2011 08:42:50 GMT
  refresh: 240; url=/ddtss/index.cgi/bg
  Set-Cookie: id=<IP address>%2Cbg; path=/ddtss/; expires=Fri, 19-Aug-2011 08:42:36 GMT
  Keep-Alive: timeout=15, max=93
  Connection: Keep-Alive
  Transfer-Encoding: chunked
  Content-Type: text/html; charset=UTF-8

It seems that the server resets the id cookie for some reason.

Ok, thanks.

Maybe we have a problem in the function 'validate_user'.

can you post me in privat mail the old cookie:
Cookie: id=<username>%3A<some hash>_%2Cbg

I need the username and the hash.

Thanks

Gruss
Grisu


Reply to: