I found my own answer rather than mucking around with inheritance I created a simple class with;
Imports Microsoft.VisualBasic
Imports System.Threading
Imports System.Globalization
Public Class globalisation_simple
Public Sub set_thread()
If HttpContext.Current.Session("MyUICulture") IsNot Nothing AndAlso HttpContext.Current.Session("MyCulture") IsNot Nothing Then
Thread.CurrentThread.CurrentUICulture = DirectCast(HttpContext.Current.Session("MyUICulture"), CultureInfo)
Thread.CurrentThread.CurrentCulture = DirectCast(HttpContext.Current.Session("MyCulture"), CultureInfo)
End If
End Sub
End Class
Then from the generic handler I called it by;
Dim globalisation_simple As New globalisation_simple
globalisation_simple.set_thread()
It seems to do the job fine.
M:)