Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
8 years ago
Commit
14c723041e1800a93a80466b951b2dc6010edfa0
1 parent
c52075f6
memcached session
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app.js
app.js
View file @
14c7230
...
...
@@ -63,9 +63,9 @@ app.use(MemcachedSession({ // eslint-disable-line
saveUninitialized
:
true
,
unset
:
'destroy'
,
secret
:
'82dd7e724f2c6870472c89dfa43cf48d'
,
name
:
'yohoblk
-
session'
,
name
:
'yohoblk
_
session'
,
cookie
:
{
domain
:
'yohoblk.com'
,
domain
:
config
.
cookieDomain
,
httpOnly
:
false
},
store
:
new
MemcachedStore
({
...
...
@@ -79,7 +79,7 @@ app.use(MemcachedSession({ // eslint-disable-line
app
.
use
(
CookieSession
({
// eslint-disable-line
requestKey
:
'session2'
,
cookieName
:
'yohoblk
-session
'
,
cookieName
:
'yohoblk
_session_cookie
'
,
secret
:
'82dd7e724f2c6870472c89dfa43cf48d'
,
cookie
:
{
domain
:
config
.
cookieDomain
,
...
...
Please
register
or
login
to post a comment