Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mastermatt
/
session
Public
forked from
expressjs/session
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
session
test
session.js
on
master
User selector
All users
All time
Commit history
Commits on Apr 17, 2020
tests: fix test validation of session ID
Show description for 3b08fc7
ghinks
authored and
dougwilson
committed
3b08fc7
View commit details
Copy full SHA for 3b08fc7
View code at this point
Browse repository at this point
tests: resolve originalMaxAge flaky tests
Show description for 5d5b51f
dougwilson
committed
5d5b51f
View commit details
Copy full SHA for 5d5b51f
View code at this point
Browse repository at this point
Fix internal method wrapping error on failed reloads
Show description for ac3f0a2
Zirak
authored and
dougwilson
committed
ac3f0a2
View commit details
Copy full SHA for ac3f0a2
View code at this point
Browse repository at this point
Commits on Jun 12, 2019
Fix restoring cookie.originalMaxAge when store returns Date
Show description for 30e23f1
jbialobr
authored and
dougwilson
committed
30e23f1
View commit details
Copy full SHA for 30e23f1
View code at this point
Browse repository at this point
tests: add cookie.originalMaxAge tests
dougwilson
committed
479940a
View commit details
Copy full SHA for 479940a
View code at this point
Browse repository at this point
Commits on Apr 11, 2019
Fix uncaught error from bad session data
Show description for 85682a2
geekjob
authored and
dougwilson
committed
85682a2
View commit details
Copy full SHA for 85682a2
View code at this point
Browse repository at this point
Commits on Mar 2, 2019
tests: move some code into support/
dougwilson
committed
3e0d548
View commit details
Copy full SHA for 3e0d548
View code at this point
Browse repository at this point
Commits on Sep 25, 2018
Fix issue where "resave: false" may not save altered sessions
dougwilson
committed
bcad898
View commit details
Copy full SHA for bcad898
View code at this point
Browse repository at this point
Commits on Sep 24, 2018
tests: add describe level in "resave option" tests
dougwilson
committed
a640281
View commit details
Copy full SHA for a640281
View code at this point
Browse repository at this point
tests: use strict equality
dougwilson
committed
785d094
View commit details
Copy full SHA for 785d094
View code at this point
Browse repository at this point
Commits on Apr 1, 2018
tests: add missing tests for "name" option
dougwilson
committed
104725e
View commit details
Copy full SHA for 104725e
View code at this point
Browse repository at this point
Commits on Mar 14, 2018
tests: add additional supertest helper
dougwilson
committed
befa6b5
View commit details
Copy full SHA for befa6b5
View code at this point
Browse repository at this point
tests: add basic tests for Cookie object
dougwilson
committed
082e56e
View commit details
Copy full SHA for 082e56e
View code at this point
Browse repository at this point
Commits on Jan 8, 2018
lint: only declare one variable per var
dougwilson
committed
2bb2860
View commit details
Copy full SHA for 2bb2860
View code at this point
Browse repository at this point
Commits on Aug 28, 2017
lint: add editorconfig and eslint to enforce
dougwilson
committed
8b4f668
View commit details
Copy full SHA for 8b4f668
View code at this point
Browse repository at this point
Commits on Aug 3, 2017
Fix TypeError when req.url is an empty string
Show description for c226301
dougwilson
committed
c226301
View commit details
Copy full SHA for c226301
View code at this point
Browse repository at this point
tests: add test for mounted middleware
dougwilson
committed
62c4d15
View commit details
Copy full SHA for 62c4d15
View code at this point
Browse repository at this point
tests: move the cookie path tests
dougwilson
committed
8518200
View commit details
Copy full SHA for 8518200
View code at this point
Browse repository at this point
Commits on Mar 11, 2017
tests: remove express from more tests
dougwilson
committed
4a4c2ef
View commit details
Copy full SHA for 4a4c2ef
View code at this point
Browse repository at this point
tests: fix req.secret test
dougwilson
committed
66e518b
View commit details
Copy full SHA for 66e518b
View code at this point
Browse repository at this point
Commits on Jan 23, 2017
tests: improve accuracy of maxAge cookie tests
dougwilson
committed
28d5332
View commit details
Copy full SHA for 28d5332
View code at this point
Browse repository at this point
Commits on Jan 22, 2017
tests: add helpers to validate set-cookie attributes
dougwilson
committed
42007ef
View commit details
Copy full SHA for 42007ef
View code at this point
Browse repository at this point
tests: add simple set-cookie parser for accuracy
dougwilson
committed
fe324f2
View commit details
Copy full SHA for fe324f2
View code at this point
Browse repository at this point
tests: change more tests to use should set in store helpers
dougwilson
committed
4f261d0
View commit details
Copy full SHA for 4f261d0
View code at this point
Browse repository at this point
tests: use createSession() helper for less verbosity
dougwilson
committed
1c9a606
View commit details
Copy full SHA for 1c9a606
View code at this point
Browse repository at this point
tests: change more tests to use createServer() helper
dougwilson
committed
75b2912
View commit details
Copy full SHA for 75b2912
View code at this point
Browse repository at this point
tests: fix tests checking store set not to rely on header update
dougwilson
committed
1896dd1
View commit details
Copy full SHA for 1896dd1
View code at this point
Browse repository at this point
Commits on Jan 1, 2017
Fix detecting modified session when session contains "cookie" property
Show description for 7073caf
gustavohenke
authored and
dougwilson
committed
7073caf
View commit details
Copy full SHA for 7073caf
View code at this point
Browse repository at this point
Commits on Nov 17, 2016
Fix resaving already-saved reloaded session at end of request
Show description for ce2de6b
dotchev
authored and
dougwilson
committed
ce2de6b
View commit details
Copy full SHA for ce2de6b
View code at this point
Browse repository at this point
Commits on Sep 1, 2016
tests: handle errors within tests
Show description for b8f29ab
gabeio
authored and
dougwilson
committed
b8f29ab
View commit details
Copy full SHA for b8f29ab
View code at this point
Browse repository at this point
Commits on Aug 24, 2016
Fix not always resetting session max age before session save
Show description for 4c476fa
dougwilson
committed
4c476fa
View commit details
Copy full SHA for 4c476fa
View code at this point
Browse repository at this point
Commits on Jun 24, 2016
tests: handle errors within tests
gabeio
authored and
dougwilson
committed
af2fa7d
View commit details
Copy full SHA for af2fa7d
View code at this point
Browse repository at this point
tests: add tests for store disconnect and connect
dougwilson
committed
9d21d90
View commit details
Copy full SHA for 9d21d90
View code at this point
Browse repository at this point
Commits on Jun 16, 2016
Correctly inherit from EventEmitter class in Store base class
dougwilson
committed
16cbfb2
View commit details
Copy full SHA for 16cbfb2
View code at this point
Browse repository at this point
Commits on Jun 14, 2016
Fix issue where Set-Cookie Expires was not always updated
Show description for 50cdae2
dougwilson
committed
50cdae2
View commit details
Copy full SHA for 50cdae2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.