Skip to content
This repository

issue #19754: Change timout to 1 hour. #175

Merged
merged 1 commit into from about 1 year ago

1 participant

John Rogelstad
John Rogelstad
Owner

No description provided.

John Rogelstad jrogelstad merged commit f9ef590 into from March 19, 2013
John Rogelstad jrogelstad closed this March 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 19, 2013
John Rogelstad issue #19754: Change timout to 1 hour. 038ae20
This page is out of date. Refresh to see the latest.
2  node-datasource/main.js
@@ -239,7 +239,7 @@ app.configure(function () {
239 239
   app.use(express.bodyParser());
240 240
 
241 241
   // See cookie stopm above for more details.
242  
-  app.use(express.session({ store: sessionStore, secret: '.T#T@r5EkPM*N@C%9K-iPW!+T', cookie: { path: '/', httpOnly: true, secure: true, maxAge: 1800000 } }));
  242
+  app.use(express.session({ store: sessionStore, secret: '.T#T@r5EkPM*N@C%9K-iPW!+T', cookie: { path: '/', httpOnly: true, secure: true, maxAge: 3600000 } }));
243 243
 
244 244
   app.use(passport.initialize());
245 245
   app.use(passport.session());
1  node-datasource/sample_config.js
@@ -17,7 +17,6 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
17 17
     routersDirectory: "./lib/routers",
18 18
     enhancedAuthKey: "xTuple",
19 19
     datasource: {
20  
-      sessionTimeout: 15,
21 20
       bindAddress: "localhost",
22 21
       port: 443,
23 22
       keyFile: "./lib/private/key.pem",
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.