Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

ASP Form

Guest
May 13, 2008 May 13, 2008

Copy link to clipboard

Copied

I have created ASP form using DW CS3. Once users fills out information and click on submit, information goes into Access Database using insert method. Which works just fine. But when users is transferred to confirmation page, I've tried to use Request.Form method to carry information over to confirmation page so user can write down their inquiry number and at the same time, I want to be able to send email. For some reason, Request.Form method does not carry information to next page. If I remove insert method, then it does. Is this a bug or as Microsoft would say, "By Design"? Or am I doing something wrong? Is there a another method I should be using?

Thanks,
DesiBandhu
TOPICS
Server side applications

Views

229
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 13, 2008 May 13, 2008

Copy link to clipboard

Copied

>I have created ASP form using DW CS3. Once users fills out information and
> click on submit, information goes into Access Database using insert
> method.
> Which works just fine. But when users is transferred to confirmation
> page,
> I've tried to use Request.Form method to carry information over to
> confirmation
> page so user can write down their inquiry number and at the same time, I
> want
> to be able to send email. For some reason, Request.Form method does not
> carry
> information to next page. If I remove insert method, then it does. Is
> this a
> bug or as Microsoft would say, "By Design"? Or am I doing something wrong?
> Is
> there a another method I should be using?


http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15239
Usually, it is possible to pass data entered into form elements (text
fields, list/menus, etc.) from one page to another using request variables.
However, request variables sent from an insert/update/delete page are lost
before reaching the redirect page. This happens because an
insert/update/delete page submits the user's form data back to itself (i.e.
the insert/update/delete page), instead of going directly to the redirect
page when the user clicks the submit button. In essence, three calls to the
web server, or HTTP requests, are made (insert page > insert page> redirect
page), though it only looks like two HTTP requests (insert page > redirect
page):

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 13, 2008 May 13, 2008

Copy link to clipboard

Copied

LATEST
Thanks Ted for your help. I will take a look at the article you included in this post.

Thanks,

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines