Hello Friends

I am developing application in C#...I have created few pages in ASP.NET

The sequence is in the following manner

1...Login
2....Secure

3.....Registration


but when i type www.localhost\secure.aspx I am directed to that page
However i want to ensure that user has to navigate to the page only in the above manner ...
how can i do that??

I've used only classic ASP and it had session variables. If asp.NET has similar method, the first thing in secure.aspx page is to check that "session variable". If it's set, let the user continue. If it's not set or not found, use page transfer to move user back to start page or error page.

HTH

you must use session

commented: No explanation of session term and copied from my post -2
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.