Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

How to POST BACK?!? Pls help...

Last post 05-02-2008 3:16 PM by HelpTechIT. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-16-2008 3:38 AM

    • jnjnewbie
    • Not Ranked
    • Joined on 04-16-2008
    • United States
    • New Member
    • Points 10

    How to POST BACK?!? Pls help...

    I created a webform which requires some verification on the inputted data. I had the verification process in a separated ASP page. My problem is, i need to post back to the original page the result of the verification. Can anyone advise me on how to go about that?

    Ex:

    form.htm - this contains the form. clicking a button in this form will call verify.asp

    verify.asp - contains the code doing the verification. the result of the verification i want to post back to the form.htm

    • Post Points: 10
  • 05-02-2008 3:16 PM In reply to

    • HelpTechIT
    • Not Ranked
    • Joined on 05-02-2008
    • United Kingdom
    • New Member
    • Points 20

    Re: How to POST BACK?!? Pls help...

    Hi there

     I dont know if you have though of this already but you can use session variables to allow the website to keep hold of the information stored within them accross pages. so you can recall the variable in the next page. maybe this will help

    <%

    if request.form("register") = "Submit" then

     session("msg") = "hello "&request.form("Name")

    response.redirect("register.asp")

    end if 

    %>

    Then on you next page you can just have <%=session("msg")%> within the HTML wherever you want it to write it. hope the above example is what you are looking for.

     Dan 

    • Post Points: 5
Page 1 of 1 (2 items)