sing System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls Using system.Web.ui.htmlcontrols;
Namespace Objlogin.quicklyBuildModel {/// /// securityPage Summary Description. /// summary> public class securitypage: system.Web.ui.page {
/ / Check if the user logs in to set the interface function protected void checkloginandsetpage () {= ""]! = Null & session ["userrank"]! = Null) setPagebyUserrank (); else response.redirect ("Login .aspx ");
/// /// According to permission settings page function /// summary> protected virtual void setpageByUserRank () {response.write ("Depending on Permissions Settings page feature. Current permissions are" session ["UserRank] }}}