react-session
react-session copied to clipboard
Feature num days dynamic
COOKIE_EXPIRATION_DAYS
was set to be for 7 days static value.
This PR intends to set expiration days to be indefinite by default (max possible Tue Jan 19 2038
for 32-bit
systems ref)
Otherwise expiration days can be given as a third param to the session like:ReactSession.set(paramName, paramValue, numberOfDays)
of the CookieStorage
Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.
All security workflows are defined in a centralized repository named .jit. In case there are security findings, they will be communicated to you as a comment inside the PR.
Hope you’ll enjoy using Jit.
Questions? Comments? Want to learn more? Get in touch with us.