[Mono-bugs] [Bug 449390] Session does not update the cookie expiration in 2.0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 28 05:27:50 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=449390

User adriaanvk at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=449390#c3





--- Comment #3 from Adriaan van Kekem <adriaanvk at gmail.com>  2008-11-28 03:27:50 MST ---
Created an attachment (id=256488)
 --> (https://bugzilla.novell.com/attachment.cgi?id=256488)
quick hack

It seems that the cookie handling is not the bug, but it seems there is
something wrong with the Cache class in System.Web.Caching. 

I replaced all HttpRuntime.InternalCache in SessionInProcHandler class through
a static dictionary and my sessions do not get lost!! So that proves that there
should be a bug in Cache itself.

Please check my attachment with the hack i did which solves the problem. We
have to found the real bug in cache class itself to solve the problem.

One thing i was wondering was that in SessionInProcHandler we use priority
AboveNormal for caching session. But we don't want to loose session object from
cache, right? So can we change this to NotRemovable? (although this does not
fix the session loosing, i have tested that!)

So i think we should do some reviewing on the cache class because some caching
items got loosed, which is very bad! I will also do some more reviewing on
that, i hope some of you can do the same!


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list