N
ns
I am using visual studio 2005, i manually addded global.asax.vb and changed
global.asax to use the code behind.
When i step into the authenticate request, i get the
HttpContext.current.user as nothing always.
AM i missing anyhting ?, has the implementation of forms authentication
changed in
Visual studio 2005.
What are the things i should look at.
I am always getting HttpContext.current.User as nothing.
Imports Microsoft.VisualBasic
Imports System
Imports System.Web
Imports System.Web.SessionState
Imports System.Security.Principal
Public Class [Global]
Inherits System.Web.HttpApplication
Private Sub Global_AuthenticateRequest(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Me.AuthenticateRequest
Dim UserName As String = ""
Try
UserName = HttpContext.Current.User.Identity.Name.ToString
Catch ex As Exception
End Try
End Sub
End Class
global.asax to use the code behind.
When i step into the authenticate request, i get the
HttpContext.current.user as nothing always.
AM i missing anyhting ?, has the implementation of forms authentication
changed in
Visual studio 2005.
What are the things i should look at.
I am always getting HttpContext.current.User as nothing.
Imports Microsoft.VisualBasic
Imports System
Imports System.Web
Imports System.Web.SessionState
Imports System.Security.Principal
Public Class [Global]
Inherits System.Web.HttpApplication
Private Sub Global_AuthenticateRequest(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Me.AuthenticateRequest
Dim UserName As String = ""
Try
UserName = HttpContext.Current.User.Identity.Name.ToString
Catch ex As Exception
End Try
End Sub
End Class