Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: storing a page results in a variable


Message #1 by Martin McIntyre <MartinM@s...> on Thu, 25 Jan 2001 17:26:12 -0000
I am trying to find an easy way in server side vbscript how to return the

results of an ASP page into a string.



My ASP Page returns a steam of text only, and hence I do not want to show it

but tabulate the results in my own page.



i.e.



NewRecords = ResultsOfPage('Myrecords.asp")		'Myrecords.asp only

returns a delimited string



I can then split the NewRecords string into my tabulated data.



Any clues



Cheers

Martin

Message #2 by "Peter Lanoie" <planoie@e...> on Thu, 25 Jan 2001 14:54:52 -0500
Martin,



FYI, this topic was addressed earlier today in a thread, but here's the same

info if you missed it.



pl



-----Original Message-----

From: Peter Lanoie [mailto:planoie@e...]

Sent: Thursday, January 25, 2001 1:03 PM

To: ASP Web HowTo

Subject: [asp_web_howto] RE: send http getstring to off site and still

stay on my site



Take a look at http://www.serverobjects.com/products.htm#asphttp

They have an object that you can use to call a URL, and it will return the

output of that URL/Page.

You can pass variables (like you want to) to that URL.

It looks like in your case that you don't care what the output is however,

you just need to push some data to somewhere else.

Of course, you need to take into concideration the time for prosession that

request.

But your page would continue processing after that request is complete.

Simply ignor the resulting page that the object returns.

We've used this object. It's proven handy for doing basic communications

between sites. You can use it for handshaking to be able to pass information

between sites or webs that don't share cookies but need the cookie values.



-Peter L



-----Original Message-----

From: Martin McIntyre [mailto:MartinM@s...]

Sent: Thursday, January 25, 2001 12:26 PM

To: ASP Web HowTo

Subject: [asp_web_howto] storing a page results in a variable





I am trying to find an easy way in server side vbscript how to return the

results of an ASP page into a string.



My ASP Page returns a steam of text only, and hence I do not want to show it

but tabulate the results in my own page.



i.e.



NewRecords = ResultsOfPage('Myrecords.asp")		'Myrecords.asp only

returns a delimited string



I can then split the NewRecords string into my tabulated data.



Any clues



Cheers

Martin

Message #3 by Martin McIntyre <MartinM@s...> on Fri, 26 Jan 2001 09:18:54 -0000
Thanks, just the job



-----Original Message-----

From: Peter Lanoie [mailto:planoie@e...]

Sent: 25 January 2001 19:55

To: ASP Web HowTo

Subject: [asp_web_howto] RE: storing a page results in a variable





Martin,



FYI, this topic was addressed earlier today in a thread, but here's the same

info if you missed it.



pl



-----Original Message-----

From: Peter Lanoie [mailto:planoie@e...]

Sent: Thursday, January 25, 2001 1:03 PM

To: ASP Web HowTo

Subject: [asp_web_howto] RE: send http getstring to off site and still

stay on my site



Take a look at http://www.serverobjects.com/products.htm#asphttp

They have an object that you can use to call a URL, and it will return the

output of that URL/Page.

You can pass variables (like you want to) to that URL.

It looks like in your case that you don't care what the output is however,

you just need to push some data to somewhere else.

Of course, you need to take into concideration the time for prosession that

request.

But your page would continue processing after that request is complete.

Simply ignor the resulting page that the object returns.

We've used this object. It's proven handy for doing basic communications

between sites. You can use it for handshaking to be able to pass information

between sites or webs that don't share cookies but need the cookie values.



-Peter L



-----Original Message-----

From: Martin McIntyre [mailto:MartinM@s...]

Sent: Thursday, January 25, 2001 12:26 PM

To: ASP Web HowTo

Subject: [asp_web_howto] storing a page results in a variable





I am trying to find an easy way in server side vbscript how to return the

results of an ASP page into a string.



My ASP Page returns a steam of text only, and hence I do not want to show it

but tabulate the results in my own page.



i.e.



NewRecords = ResultsOfPage('Myrecords.asp")		'Myrecords.asp only

returns a delimited string



I can then split the NewRecords string into my tabulated data.



Any clues



Cheers

Martin


  Return to Index