Thursday, February 3, 2011

Page redirection

 If Session("Emp_Id") = Nothing Or Session("Role") = Nothing Or Session("login_ayear") = Nothing Then
                ScriptManager.RegisterStartupScript(Me, Me.GetType, "", "window.open('../frm_Login/login.aspx?Expired=1','_top');", True)
                Exit Sub
            End If

No comments :

Post a Comment