vb.net - Can I set Session timeout for a specified Session variable differently than other Session Variables -


I want to set the timeout on a specific session variable in the net net application, but leaving the other session variable alone. Is this possible?

Example:

I have 5 session variables. Session (var1) session (var2) session (var3) session (var4) session (var5)

I want to set it so that session (var4) has the session (var4) with 8 hours ( 480 minutes), but the time has ended 20 minutes in session (var5). Can it be done? You can apply this feature by creating a timestamp field in this variable (or associated timestamp).

Farm). The timestamp will mark the time after which the variable becomes invalid Of course you have to manually manage the timestamp in your code (update it per hit, and remove it from session if invalid).


Comments