anonymous
Wed Nov 19 17:16:13 CST 2003
Control it from your side:
Hidden input tags that indicate "previous page" on the
list and single product page (and any place else they
might come from within your control). If the "previous
page" field doesn't exist, then the user just came from
somewhere else, so force them back to list page or where
ever.
>-----Original Message-----
>Can't - the form code is a generated ASP code not on my
server - it is an
>e-commerce solution - very generic.
>
>D
>
>
>"Aaron" <a@1.net> wrote in message
>news:%2308em%23trDHA.3536@tk2msftngp13.phx.gbl...
>> Use a link instead of a form button
>>
>> Drifter wrote:
>>
>> > Excellent answer - and one that I have pursued for
the last 2 hours -
>trying
>> > to figure out how it worked. I built a test page with
HTTP_REFERER in it
>> > looking for the last page. I then went to other pages
and checked the
>value,
>> > nothing. I then read a little tip that referer only
works if you
>reference
>> > it from a link. I built another quick page with a
link to HTTP_REFERER
>check
>> > page, and all was good. To do final test I made a
copy of the order
>> > confirmation page from Aliant. They use this to
create the link back to
>the
>> > site:
>> >
>> > <input type="button" name="Continue" value="Continue
Shopping"
>> > onclick="ContinueShopping
('
http://testsite/supertest.asp');">
>> >
>> > When i use this code, the HTTP_REFERER does not catch
the URL any more.
>> > Arrrggghhh!!! I cannot make Aliant change the code,
and as it is, it
>will
>> > not be caught with HTTP_REFERER. Very annoying.
>> >
>> > Any other ideas???
>> >
>> >
>> >
>> > Thanks,
>> >
>> >
>> >
>> > D
>> >
>> >
>> > "Peter Foti" <peterf@systolicnetworks.com> wrote in
message
>> > news:vrn3i9g5d8ji9a@corp.supernews.com...
>> >
>> >>"Drifter" <loreseeker_prime@hotmail*removethis*.com>
wrote in message
>> >>news:bpeuht$263$1@nntp-stjh-01-01.rogers.nf.net...
>> >>
>> >>>So - what I want to do is this: Write some code so
that when i
>> >>>click continue shopping, it goes back to the Single
item Purchase page
>> >
>> > (as
>> >
>> >>>it must the way Aliant has it coded). It will only
stay here a sec -
>> >>
>> >>because
>> >>
>> >>>i want to re-route it to the list page, by writing
an "If lastURL was
>> >>
>> >>Aliant
>> >>
>> >>>Checkout screen, then re-route to list screen" type
of code piece - can
>> >>
>> >>this
>> >>
>> >>>be done?
>> >>
>> >>Couldn't you add some ASP to the top of your Single
item Purchase page
>> >
>> > that
>> >
>> >>checks to see if the Request.ServerVariables
("HTTP_REFERER") matched the
>> >>checkout page, and if so, Response.Redirect to the
desired page? In
>other
>> >>words, the user would never be shown the Single Item
Purchase page
>because
>> >>they would transition before anything was displayed
on the screen.
>> >>
>> >>Regards,
>> >>Peter Foti
>> >>
>> >>
>> >
>> >
>> >
>>
>
>
>.
>