Posted on: 4/9/2015 11:26:44 AM | Views : 588

I'm creating a website using ASP.NET and C#, the site is built from a page which contains a top bar that contains buttons and a login area (2 textboxes and a button) and an iframe which the buttons targets are opened within, this is my "NotLogged.aspx" page.
There is another page which is the same, but has different buttons and some "Welcome" message instead of the login area ("Default.aspx").
I have this code inside my "web.config":
<authentication mode="Forms"> <forms loginUrl="NotLogged.aspx" name=".ASPXFORMSAUTH"> </forms> </authentication> <authorization> <deny users="?" /> </authorization> and i'm yet to add some code inside my login button 'on click' commands, what happens is it does open the right page if the user is not logged ("NotLogged.aspx") but opens it again i ...

Go to the complete details ...