Skip Standard Error Screen Asp.Net

anuntpenet

New Member
I have an Application that you need to register in the db to connect to it but if you are not, there is a Error Screen but its really looking ugly as you can see
nsq08.gif
I have tried to check if the session where the user ID is saved == null and than clear Content and this is on the start page where every user is connecting first \[code\]if (this.Session["SessionId"] ==null){ Response.ClearContent(); Response.Write("ERROR"); Response.End();}\[/code\]Thanks for help and fast answer
 
Back
Top