-- 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
|
If sw IsNot Nothing AndAlso Not (Not User.Identity.IsAuthenticated OrElse UsuarioActual Is Nothing) Then
|
||||||
|
|
||||||
sw.Stop()
|
sw.Stop()
|
||||||
Using ObjUsuario As New ClsSisUsuarios
|
If Not Page.IsPostBack Then
|
||||||
ObjUsuario.AddBitacora(CveModulo, "", "", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, Request.Url.PathAndQuery.ToString(), sw.ElapsedMilliseconds)
|
Using ObjUsuario As New ClsSisUsuarios
|
||||||
End Using
|
ObjUsuario.AddBitacora(CveModulo, "", "", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, Request.Url.PathAndQuery.ToString(), sw.ElapsedMilliseconds)
|
||||||
|
End Using
|
||||||
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
If Not IsNothing(ViewState("strToastMsglargonoreplace")) AndAlso ViewState("strToastMsglargonoreplace").ToString.Length > 0 Then
|
If Not IsNothing(ViewState("strToastMsglargonoreplace")) AndAlso ViewState("strToastMsglargonoreplace").ToString.Length > 0 Then
|
||||||
RegistraScript(ViewState("strToastMsglargonoreplace").ToString(), "esteseraunticklargoparaquenosesobrescribaconotro")
|
RegistraScript(ViewState("strToastMsglargonoreplace").ToString(), "esteseraunticklargoparaquenosesobrescribaconotro")
|
||||||
|
|||||||
Reference in New Issue
Block a user