Results 1 to 3 of 3

Thread: How do I get back

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Angry

    Hello,

    I have an ASP page which reads product info from a SQL db and then
    displays all products found, on a html table. The user can then click
    on any product to see more info on that specific product - ie. a
    page opens up within the same frame as the html table displaying
    info about the product as well as links to other pages.

    My problem is that I want the user to be able to go BACK to the
    "products html table" at any stage. By just clicking on the back
    button on the browser you move thru all the pages visited before
    eventually getting back to the table.

    The big thing is that when I open the products.asp page I MUST know
    what country the user wants to see products for, and according to that I then build my sql
    statement. So, if I just make a hyperlink back to products.asp, my
    page does not know what the country is and what sql statement to build and
    then just displays nothing in the table.

    Please help,
    T

  2. #2
    Guest
    You can use Sessions to store information.
    Code:
    Session ("Country") = "Netherlands"
    You can read the session everywhere on your site until your browser is closed.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343
    Thanks, I'll give it a try, but for some reason I have not had much luck with session variables before.

    T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width