page remembering old values ...?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default page remembering old values ...?

    Hello people,
    once again I am here to ask you for your help. This time I am working on
    an online shop for a hospice, I am trying to set up a page which gathers an
    order from a shopping cart, (this bit works) then asks the user to fill out
    a form supplying their name and address etc for delivery of the items they
    have bought. It works fine if you enter a surname never before entered, but
    if you enter a surname that has been used before, rather than passing across
    the data that you type in to the form, it just pulls up the old values???

    I have come across this once before and remember that there is a line you
    can type in the top of the ASP page which clears the old data and make the
    page only use the new values, I think it is :

    <%
    Session.Abandon
    %>

    but if I use this I am worried that I will also lose the shopping cart
    values, so where should I place this line, on the very first page that the
    visitor will load, or somewhere else, can anyone please help??

    Thanks again.


    CharitiesOnline.co.uk Guest

  2. Similar Questions and Discussions

    1. Page seems to be remembering HttpSessionState
      I have a page that determines some of what to display based on HttpSessionState. When I go to it the first time, it displays everything the way I...
    2. passing 2 values from a page to another ASP page
      <a href="page2.asp?var1=Value1&var2=Value2">click</a> or use a link that invokes some javascript to post the form -if- you still want to use a...
    3. 'Remembering'
      Im creating a 10 question quiz consisting of drag and drops, multichoice, inputs boxes etc. I can get each questions to work right at the time,...
    4. Accessing Values of local variables in previous page when using custom error page
      Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all...
    5. [PHP] Cannot pass values from one page to another
      I got this value in next page(main.php) But from there I am not able to pass it to next page I used session_register('uid'); in main.php but in...
  3. #2

    Default Re: page remembering old values ...?

    It's impossible to say unless you should some relevant code snippets. I
    imagine somewhere there's a "select shoppingCartItems from ShoppingCart
    where lastname='" & lastname & "'"

    Ray at home

    "CharitiesOnline.co.uk" <Info@CharitiesOnline.co.uk> wrote in message
    news:lt1gb.317$616.126@news-binary.blueyonder.co.uk...
    > Hello people,
    > once again I am here to ask you for your help. This time I am working
    on
    > an online shop for a hospice, I am trying to set up a page which gathers
    an
    > order from a shopping cart, (this bit works) then asks the user to fill
    out
    > a form supplying their name and address etc for delivery of the items they
    > have bought. It works fine if you enter a surname never before entered,
    but
    > if you enter a surname that has been used before, rather than passing
    across
    > the data that you type in to the form, it just pulls up the old values???
    >
    > I have come across this once before and remember that there is a line you
    > can type in the top of the ASP page which clears the old data and make the
    > page only use the new values, I think it is :
    >
    > <%
    > Session.Abandon
    > %>
    >
    > but if I use this I am worried that I will also lose the shopping cart
    > values, so where should I place this line, on the very first page that the
    > visitor will load, or somewhere else, can anyone please help??
    >
    > Thanks again.
    >
    >

    Ray at Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139