Results 1 to 11 of 11
  1. #1
    Join Date
    Aug 2004
    Posts
    96

    Unanswered: Passing variables using the POST method without a form

    Hi,
    i would like to pass some info / variable's content from one page to another, I don't want to do it via the string and would like to do it via the post method.
    I know i can create a form and submit it with javascript but i would like to know if it is possible to do server side?

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    It is. Are you talking classic or .NET?
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    You don't have to submit the form using JavaScript.

    Instead you have a submit button on your form: ASP Forms
    George
    Home | Blog

  4. #4
    Join Date
    Aug 2004
    Posts
    96
    Classic ASP.

    You don't have to submit the form using JavaScript.
    Sorry,I probably did not explain well, I am trying to similuate a form without a form, in other words I would like to send some info from page1.asp to page2.asp without passing through the string, using a database etc, in other words, I would like to collect the values on page2.asp as if they had been sent from a form. Except that page1.asp will not include an HTML form, just server side scripting.

  5. #5
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    Google around for this:

    CreateObject("MSXML2.ServerXMLHTTP")
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  6. #6
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Only server side script...

    That doesn't seem very accessible! What about those 1 in 20 users who has JS disabled?
    George
    Home | Blog

  7. #7
    Join Date
    Aug 2004
    Posts
    96
    Only server side script...

    That doesn't seem very accessible! What about those 1 in 20 users who has JS disabled?
    What about them if it is server a side script? no need for javacript on the clents end

  8. #8
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    I meant client side **
    George
    Home | Blog

  9. #9
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    Did you figure out the ServerXMLHTTP thing?
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  10. #10
    Join Date
    Aug 2004
    Posts
    96
    Did you figure out the ServerXMLHTTP thing?
    I have not looked in great detail yet but will.

    I was more so hoping the ASP would have what I think is called in other languages the restfull? but it does not appear to exist, being able to send parameters via the post method server side

  11. #11
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    That's what ServerXMLHTTP does...
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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