mozilla / node-client-sessions

secure sessions stored in cookies
Mozilla Public License 2.0
759 stars 104 forks source link

Find the remaining session time #124

Open UderMoreiraDeAssis opened 7 years ago

UderMoreiraDeAssis commented 7 years ago

Would it be possible to create some method so that we can access the value in ms remaining for the session to expire?

seanmonstar commented 7 years ago

Seems like a fine addition.

UderMoreiraDeAssis commented 1 year ago

Addition of Method to Access Remaining Session Time

Description: Dear all,

I would like to contribute to the discussion regarding the proposal to incorporate a new method that allows access to the remaining time in milliseconds until the expiration of a session in the 'node-client-sessions' package. I believe this addition could bring significant advantages to the enhancement of the library.

Benefits:

Proposal: I suggest we consider the potential benefits this feature could offer, as well as the technical feasibility of its implementation. This could provide greater flexibility and applicability to the 'node-client-sessions' package, thereby improving the overall developer experience.

Recommended Action: We look forward to community feedback on this proposal, and if there is consensus, we can initiate discussions about the technical implementation.

Thank you all for your attention, and I hope to contribute to the positive evolution of this package.

Best regards