jhonrtin Level: Trainee
 Registered: 08-09-2011 Posts: 1
|
Question about Sessions in C#?
buddha
Hi, Im doing an assignment which is a website. I'm using HTML as the basic page and ASP.Net C# as my server side script.
My Question:
I have a login.aspx page with two text boxes for user name and password. It is coded to check if the data entered into those fields is equal to the data stored in the database (which is Microsoft SQL Server 2005 Express). if the data is correct, the user is redirected to Main.html which is the Main menu. In the Main.html page, there are several buttons which are images. Among them is a "Reservation" button/image. I want to set the page up so that the "Reservation" button is not visible to those who are not logged in. In other words, if you are logged in, only then can you see the "Reservation" image/button. Otherwise you cannot see it.
How do I do this?
I need relevant answers with coding because I'm a total noob at this.
filme porno
[Edited by jhonrtin on 15-01-2012 at 10:12 AM GMT]
[Edited by jhonrtin on 05-03-2012 at 04:22 PM GMT]
|