Going back

T

terryshamir

Hi - I'm doing my first ASP project.

In my App I present one asp page with parameters for a search
(search.asp) - when they do a search the form is posted to another ASP
page (displayresults.asp) which displays the results.
They then select one of search results and submit to another page.

IF the search didn't produce any results I would like the submit
button on the displayresults.asp to sent them back to search.asp so
user can change search parameters.

If I change the displayresults' submit's tag ACTION= "search.asp" when
no results are found, it does correctly repost back to search form -
however I lose the parameters that were typed in.

Is there a way I can RELIABLY mimick the browser backbutton - cos this
keeps the previous user entered parameters.

Second question

How do I stop people typing in ..........\search.asp and loading this
page, you should only be able to get there from a login.asp or from
displayresults.asp..

Thanks

Sorry if I've asked something completely obvious....
 

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,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top