Stopping people opening a page

B

BobLaughland

Hi There,

I am writing an ASP .NET 2.0 web site.

Just wondering how I can stop people accessing a certain page when they
shouldn't.

For example I have 2 pages,

test1.aspx
test2.aspx

I want there to be a link on page 'test1' which will take the user to
'test2', but if you type 'test2.aspx' in the browser pane, or hit the
back button it shouldn't let the user view tha page 'test2' page.

Basically the user will be filling out a form on each page, and the
information would be incomplete or inconsistant if they went to the
wrong page at the wrong time.

Thanks,

Peter.
 
B

BobLaughland

Fantastic, didn't think about using that. It will make it look and run
very nicely I think.

Thanks again!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top