back button doesn't remember new value

Discussion in 'ASP General' started by rharmonster@gmail.com, Jul 31, 2006.

  1. Guest

    I have an asp page that builds a calendar made up of images for each
    day. When a user selects a day, javascript changes the day selected
    and the next 2 days' images to a "booked" image. I place the day's
    value into a hidden form variable, so that when the user bounces around
    different months (same page), then comes back to the month with a date
    selected, the page will remember the day and show the "booked" images
    for the day already selected.

    After the user comes back to the month where a day was selected and
    decides to change the day, then move forward in the "booking" process,
    but then presses the back button, the page remembers the previous day
    selected.

    When the back button is pressed, how can I code the page to view the
    new day selected?
     
    , Jul 31, 2006
    #1
    1. Advertising

  2. Mike Brind Guest

    wrote:
    > I have an asp page that builds a calendar made up of images for each
    > day. When a user selects a day, javascript changes the day selected
    > and the next 2 days' images to a "booked" image. I place the day's
    > value into a hidden form variable, so that when the user bounces around
    > different months (same page), then comes back to the month with a date
    > selected, the page will remember the day and show the "booked" images
    > for the day already selected.
    >
    > After the user comes back to the month where a day was selected and
    > decides to change the day, then move forward in the "booking" process,
    > but then presses the back button, the page remembers the previous day
    > selected.
    >
    > When the back button is pressed, how can I code the page to view the
    > new day selected?


    The back button navigates to the page that is cached in the user's
    history. Ensure the page isn't cached and use session variables
    instead of hidden form fields.

    http://www.aspfaq.com/show.asp?id=2022

    --
    Mike Brind
     
    Mike Brind, Aug 1, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RSB
    Replies:
    1
    Views:
    451
    Cor Ligthert
    Jul 21, 2004
  2. sylvia sil
    Replies:
    1
    Views:
    619
    Curt_C [MVP]
    Dec 29, 2004
  3. VB Programmer
    Replies:
    1
    Views:
    630
    VB Programmer
    Jan 26, 2006
  4. vishal
    Replies:
    2
    Views:
    1,118
  5. Frank Miverk
    Replies:
    0
    Views:
    667
    Frank Miverk
    Apr 18, 2007
Loading...

Share This Page