If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Passing variables using the POST method without a form

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-09, 05:01
oliflorence oliflorence is offline
Registered User
 
Join Date: Aug 2004
Posts: 96
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?
Reply With Quote
  #2 (permalink)  
Old 08-26-09, 08:28
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,071
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? ***
Reply With Quote
  #3 (permalink)  
Old 08-26-09, 08:56
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
You don't have to submit the form using JavaScript.

Instead you have a submit button on your form: ASP Forms
__________________
George
Twitter | Blog
Reply With Quote
  #4 (permalink)  
Old 08-26-09, 09:10
oliflorence oliflorence is offline
Registered User
 
Join Date: Aug 2004
Posts: 96
Classic ASP.

Quote:
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.
Reply With Quote
  #5 (permalink)  
Old 08-26-09, 09:50
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,071
Google around for this:

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

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
  #6 (permalink)  
Old 08-26-09, 10:55
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Only server side script...

That doesn't seem very accessible! What about those 1 in 20 users who has JS disabled?
__________________
George
Twitter | Blog
Reply With Quote
  #7 (permalink)  
Old 08-26-09, 12:41
oliflorence oliflorence is offline
Registered User
 
Join Date: Aug 2004
Posts: 96
Quote:
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
Reply With Quote
  #8 (permalink)  
Old 08-26-09, 19:14
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
I meant client side **
__________________
George
Twitter | Blog
Reply With Quote
  #9 (permalink)  
Old 08-26-09, 23:55
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,071
Did you figure out the ServerXMLHTTP thing?
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
  #10 (permalink)  
Old 09-07-09, 17:00
oliflorence oliflorence is offline
Registered User
 
Join Date: Aug 2004
Posts: 96
Quote:
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
Reply With Quote
  #11 (permalink)  
Old 09-08-09, 08:50
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,071
That's what ServerXMLHTTP does...
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On