Ask a Question related to ASP, Design and Development.
-
CharitiesOnline.co.uk #1
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
-
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... -
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... -
'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,... -
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... -
[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... -
Ray at #2
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...on> Hello people,
> once again I am here to ask you for your help. This time I am workingan> an online shop for a hospice, I am trying to set up a page which gathersout> order from a shopping cart, (this bit works) then asks the user to fillbut> 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,across> if you enter a surname that has been used before, rather than passing> 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



Reply With Quote

