473,386 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ASPx page used to execute Query needs to post results to itself

Okay,

I have a third party (Macromedia Authorware ) software passing a student
I.D. number to an ASP page for verification against an SQL database.
Authorware uses something like the following:
result:=PostUrl: http://myserver/MyAsp.aspx?Student=StudentID
MyAsp.aspx has VB code that executes a Stored Procedure to return the
student's name. I need to post the result back to the same form in order
for the "result:=" variable in Authorware to receive the student's name.
All this has to be done without the page ever being displayed on the client
computer.

My code looks like this:

strSocSec = Request.QueryString("File")

Dim Student As RemoteTestingDB = New RemoteTestingDB

Dim strStudent As String = Student.CheckStudent(strSocSec)

strSTudent holds the student name. Code works fine I just don't know how to
dismiss the page and make the strStudent variable the result of the
initiating call.
Nov 18 '05 #1
1 1535
you'd be better off doing a SOAP call, rather than a post. but even using
the post, you just have to format the reponse in someway that is easy to
parse in Macromedia's macro langauge (javascript).

-- bruce (sqlwork.com)
"Beryl Small" <be********@computechsi.com> wrote in message
news:OT*************@tk2msftngp13.phx.gbl...
Okay,

I have a third party (Macromedia Authorware ) software passing a student
I.D. number to an ASP page for verification against an SQL database.
Authorware uses something like the following:
result:=PostUrl: http://myserver/MyAsp.aspx?Student=StudentID
MyAsp.aspx has VB code that executes a Stored Procedure to return the
student's name. I need to post the result back to the same form in order
for the "result:=" variable in Authorware to receive the student's name.
All this has to be done without the page ever being displayed on the client computer.

My code looks like this:

strSocSec = Request.QueryString("File")

Dim Student As RemoteTestingDB = New RemoteTestingDB

Dim strStudent As String = Student.CheckStudent(strSocSec)

strSTudent holds the student name. Code works fine I just don't know how to dismiss the page and make the strStudent variable the result of the
initiating call.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
7
by: Aaron Prohaska | last post by:
I have just run into a problem where I have a page that posts back to itself to execute code, except when the page does the post back it somehow executes code that is in our home page for the site....
7
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
9
by: junlia | last post by:
Does anyone how how can we disable the auto-postback feature in asp.net page? I have to use a server side control in the page, but the auto post back feature in it causes problems for me. Please...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
0
by: malcolm | last post by:
Hi, I have 2 issues with the code I am using. I am unable (at the moment) to convert from ASP to ASPX and wondering if the following code could be easily converted to ASP ? <asp:Label...
0
by: Gordon.E.Anderson | last post by:
short description: i've got a .net web site set up using a tableadapter attached to a sql server table - returning results only, no update of data. i've got a query (qry code below) set up to...
6
by: RoomfulExpress | last post by:
Here's the problem that I'm having- I'm trying to pull in 2 fields from my database and place them in the title of the HTML. I'm connecting to the db and selecting everything exactly the same as I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.