Querystring Info Sending
Discussion
In an ASP page I need to do two things.
Send some info to a page that will update my DB and also I need to send some info via a querystring URL without leaving my current ASP page.
My mind has gone blank!
Or in other words how can I send info off to a URL without leaving my current page.
>>> Edited by schueymcfee on Friday 30th July 12:31
Send some info to a page that will update my DB and also I need to send some info via a querystring URL without leaving my current ASP page.
My mind has gone blank!
Or in other words how can I send info off to a URL without leaving my current page.
>>> Edited by schueymcfee on Friday 30th July 12:31
schueymcfee said:
Or in other words how can I send info off to a URL without leaving my current page.
We use an Applet to do this...
Ours is our very own middleware and has client and server components to allow database access (and other stuff) from JavaScript on the client side.
Basically you write an applet that pretends to be a browser and communicates with your back end ASP as if it was a web page. Then you embed the applet in your web page and make it scriptable with JavaScript. That way you can communicate as many times as you like with your back-end web server without ever turning around the web page the user is on.
Writing one is quite an investment but its really worth it.
I'm sure the .NET guys will cringe at the very thought but there you go...
Don said:
schueymcfee said:
Or in other words how can I send info off to a URL without leaving my current page.
We use an Applet to do this...
Ours is our very own middleware and has client and server components to allow database access (and other stuff) from JavaScript on the client side.
Basically you write an applet that pretends to be a browser and communicates with your back end ASP as if it was a web page. Then you embed the applet in your web page and make it scriptable with JavaScript. That way you can communicate as many times as you like with your back-end web server without ever turning around the web page the user is on.
Writing one is quite an investment but its really worth it.
I'm sure the .NET guys will cringe at the very thought but there you go...
To be honest Don it's a lot of work just for a simple redirect to an affiliate. I'd rather just have a submit button.
But thanks

Why not post to the page to the page which does the DB update - which displays nothing, or a "please wait" message and once the update is complete redirect to the next web page.
Or open a child window which does the db update and then closes itself and then the main page re-directs.
Might not be suitable for your purposes but may work.
Cheers
Paul
Or open a child window which does the db update and then closes itself and then the main page re-directs.
Might not be suitable for your purposes but may work.
Cheers
Paul
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



you might be onto something here.