-- que se registre bitacora, en el prerender, solo al iniciar la pagina
This commit is contained in:
@@ -5287,9 +5287,12 @@ Public Class ClsPaginas
|
||||
If sw IsNot Nothing AndAlso Not (Not User.Identity.IsAuthenticated OrElse UsuarioActual Is Nothing) Then
|
||||
|
||||
sw.Stop()
|
||||
Using ObjUsuario As New ClsSisUsuarios
|
||||
ObjUsuario.AddBitacora(CveModulo, "", "", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, Request.Url.PathAndQuery.ToString(), sw.ElapsedMilliseconds)
|
||||
End Using
|
||||
If Not Page.IsPostBack Then
|
||||
Using ObjUsuario As New ClsSisUsuarios
|
||||
ObjUsuario.AddBitacora(CveModulo, "", "", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, Request.Url.PathAndQuery.ToString(), sw.ElapsedMilliseconds)
|
||||
End Using
|
||||
End If
|
||||
|
||||
End If
|
||||
If Not IsNothing(ViewState("strToastMsglargonoreplace")) AndAlso ViewState("strToastMsglargonoreplace").ToString.Length > 0 Then
|
||||
RegistraScript(ViewState("strToastMsglargonoreplace").ToString(), "esteseraunticklargoparaquenosesobrescribaconotro")
|
||||
|
||||
Reference in New Issue
Block a user