'use strict'
var express = require('express');
var app = express();
app.get('/',function(req,res){
res.cookie("tokenID="+Date.now());
res.end();
});
app.listen(3000);
浏览器cookie截图
'use strict'
var express = require('express');
var app = express();
app.get('/',function(req,res){
res.cookie("tokenID="+Date.now());
res.end();
});
app.listen(3000);
浏览器cookie截图