MJRichardson / RavenDbSessionStateStoreProvider

An ASP.NET session-state store-provider implementation using RavenDB for persistence.
Other
18 stars 6 forks source link

Timeout uses Minutes instead of TotalMinutes #1

Closed tvanfosson closed 12 years ago

tvanfosson commented 12 years ago

If you use a value for session expiration longer than 1 hour, the expiration is calculated incorrectly because it uses the Minutes property of the session timeout configuration rather than TotalMinutes. Modifying the code to use TotalMinutes (cast to an int as necessary) solves this problem.

MJRichardson commented 12 years ago

Thanks for the feedback.

I believe this is corrected now.