Problem of using WSASP

Rabbit

Member
Hi,

I have a problem with the WSASP, I've check my setup is correct and there is no problem on using the configuration
page of WSASP, but I got the following problem :

I've wrote an ASP program like this :

ASP TO WS TESTING :
<% SET WebSpeed = Server.CreateObject("WSASP.WSAgent")
WebSpeed.ServiceName = "TEST"
WebSpeed.RunScript("test.p")%>

The content of test.p was :
{$OUT} "Hello world....".

The ASP was run without any error, but I can't see the
message displayed, can anyone told me what's going wrong?
Thank you!

Rabbit
 

Joe ASP 4.0

New Member
Try this

{$OUT} 'Hello world' skip. (in your .p source file where you define the output)

When using an out statement, you must wrap all lines with and end it with skip. If its more than one line the last skip has a period ending the phrase.

For each table
where table.fieldname = "blah blah"
then do:
{$OUT} '<tr>Hello world</tr>' skip
'<tr>its me!</tr>' skip.

Progress is just becoming aware of odbc, JDBC etc, dynamic queries with 9.1. A little late but better than nothing.

Unfortunately webspeed does not work with ASP as nativley as you and myself think. I just rant because I got caught doing web development in a Progress shop with vers 8.3 and webspeed ugh. Good database, but lousy webspeed support documentation etc. Nothing like the ASP, PHP or JSP world which I miss working with =(


[Edited by Joe ASP 4.0 on 22 Jan 2001 at 10:17 PM]
 

Rabbit

Member
Thank you Joe, I've try your suggestion, but it's still not work. I'm wondering does the program really executed?
 
Top