[thelist] Ajax requests after session timeout

Hassan Schroeder hassan.schroeder at gmail.com
Fri Sep 24 17:36:47 CDT 2010

On Fri, Sep 24, 2010 at 2:29 PM, Bill Moseley <moseley at hank.org> wrote:

> What value should be included with the WWW-Authenticate header in this case?

Whatever matches your authentication scheme :-)  For example, I just
did a wget to a URL that's password protected, and got, among others,
these headers back:

HTTP request sent, awaiting response...
  HTTP/1.1 401 Unauthorized
  Date: Fri, 24 Sep 2010 22:25:11 GMT
  WWW-Authenticate: BASIC realm="Single Sign-On"

You could also use wget to see what your current setup returns, e.g.
`wget --no-check-certificate --server-response --spider https://example.com`

Hassan Schroeder ------------------------ hassan.schroeder at gmail.com
twitter: @hassan

More information about the thelist mailing list