visionmedia/express — Issue #948: Express 2.5.4 and Nodejs 0.4.12 on WinXP
Author: laoshanlung
Created: 2012-01-03 09:14:11+00:00
State: open

I am not sure if I am the only one that got this error.
When using Windows7, Mac or Linux, things are ok, but when it comes to WinXP the session is not working correctly

This is a log when I do success authentication (using everyauth) on Windows 7

```javascript
starting step - displayLogin
...finished step
starting step - displayLogin
...finished step
starting step - extractLoginPassword
...finished step
starting step - authenticate
authenticate
session.userDetail
{ id: 'Guest368',
username: 'Guest368',
displayname: 'Guest368',
avatar: '/images/default_profile.jpg'}
...finished step
starting step - interpretUserOrErrors
...finished step
starting step - getSession
...finished step
starting step - addToSession
...finished step
starting step - respondToLoginSucceed
...finished step
starting step - respondToLoginFail
...finished step
c7c023b36ea3b433cc22f3989d64d3f4
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25
session
{ lastAccess: 1325581410837,
cookie:
{ path: '/',
httpOnly: true,
_expires: Tue, 03 Jan 2012 13:03:30 GMT,
originalMaxAge: 14400000 },
flash: {},
roomId: 'c7c023b36ea3b433cc22f3989d64d3f4',
userDetail:
{ id: 'Guest368',
username: 'Guest368',
displayname: 'Guest368',
avatar: '/images/default_profile.jpg'},
auth: { loggedIn: true } }
```

And this is a log when I did a success authentication (using everyauth) on WinXP

```javascript
starting step - displayLogin
...finished step
starting step - extractLoginPassword
...finished step
starting step - authenticate
authenticate
session.userDetail
{ id: 'Guest714',
username: 'Guest714',
displayname: 'Guest714',
avatar: '/images/default_profile.jpg'}
...finished step
starting step - interpretUserOrErrors
...finished step
starting step - getSession
...finished step
starting step - addToSession
...finished step
starting step - respondToLoginSucceed
...finished step
starting step - respondToLoginFail
...finished step
c7c023b36ea3b433cc22f3989d64d3f4
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25
session
{ lastAccess: 1325581290940,
cookie:
{ path: '/',
httpOnly: true,
_expires: Tue, 03 Jan 2012 13:01:30 GMT,
originalMaxAge: 14400000 },
roomId: 'c7c023b36ea3b433cc22f3989d64d3f4' }
```

With the same process and same configuration (Firefox 3.6, Firefox 9, Chrome 15,16, IE8,9, using RedisStore), Express Session on WinXP is totally different than the session on Windows 7. Although WinXP is super old, but there are still many WinXP users, and I have to support it.