Secbone / koa-session2

Middleware for Koa2 to get/set session
MIT License
153 stars 30 forks source link

all clients get same sid #13

Closed CocaCola183 closed 8 years ago

CocaCola183 commented 8 years ago
app.use(session({
  key: config.session.key,
  store: new Store()
}));

all clients get same sid

opts.sid = this.getID(24);

this line just run one time

really confused

thanks for your help!

CocaCola183 commented 8 years ago

Sorry, I made a mistake, it's nothing to do with koa-session2