[Mono-dev] [PATCH] Regression in System.Web.Security.FormsAuthenticationModule

Juraj Skripsky js at hotfeet.ch
Wed Apr 4 09:10:25 EDT 2007


Hello,

The follow commit caused a regression in NET_1_1: Session_End in
global.asax is never called. The cause is an NullReferenceException in
FormsAuthenticationModule.Init() as "app.Context" is null (only in this
method and only when a session is about to be terminated). 

2007-03-21 Vladimir Krasnov <vladimirk at mainsoft.com>

* FormsAuthenticationModule.cs: refactored configuration section to be
  a member of a class


My patch moves the initialization of _config out of the Init method.

Please review.

- Juraj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FormsAuthenticationModule.patch
Type: text/x-patch
Size: 1511 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070404/4aa2a4e6/attachment.bin 


More information about the Mono-devel-list mailing list