Calling Server Side Script from Client Side Script 
Author Message
 Calling Server Side Script from Client Side Script

I'm trying to call a server side script to connect to an Access DB, from a
clent side script. Can you tell me what's wrong with this code ?

<SCRIPT LANGUAGE="VBScript">
    Sub validate()
    ...
    insert
    End Sub
</SCRIPT>

<SCRIPT LANGUAGE="VBScript" RUNAT=Server>
   Sub insert()
   ...
   End Sub
</SCRIPT>



Sun, 19 Aug 2001 03:00:00 GMT  
 Calling Server Side Script from Client Side Script

Quote:
>Can you tell me what's wrong with this code ?

You can't call server side scripts from the client. All you can do is
request files and submit forms. The only way to do what you want is to pass
arguments in a form and have the form handler on the server run the script
using those arguments.

Dave



Sun, 19 Aug 2001 03:00:00 GMT  
 Calling Server Side Script from Client Side Script
You can call a server side script on another ASP page from a client side
script utilizing the page object.

Jake

Quote:

>I'm trying to call a server side script to connect to an Access DB, from a
>clent side script. Can you tell me what's wrong with this code ?



Sun, 19 Aug 2001 03:00:00 GMT  
 Calling Server Side Script from Client Side Script
You can in fact do this, but it is more complicated than you think.

Check the microsoft site and look up "Remote Scripting"

hope this helps!
Jenna

Quote:

>I'm trying to call a server side script to connect to an Access DB, from a
>clent side script. Can you tell me what's wrong with this code ?

><SCRIPT LANGUAGE="VBScript">
>    Sub validate()
>    ...
>    insert
>    End Sub
></SCRIPT>

><SCRIPT LANGUAGE="VBScript" RUNAT=Server>
>   Sub insert()
>   ...
>   End Sub
></SCRIPT>



Sun, 19 Aug 2001 03:00:00 GMT  
 Calling Server Side Script from Client Side Script

Quote:

>You can in fact do this, but it is more complicated than you think.

>Check the microsoft site and look up "Remote Scripting"

Thanks that's exactly what I was looking for.

Steve



Sun, 19 Aug 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Call Server Side Script From Client Side Script

2. Client side scripting / server side scripting

3. Accessing Data generated with client-side script from server-side script

4. Client side scripting / server side scripting

5. ASP referring to server side variables in client side script

6. Client side and Server side script working together

7. Client Side + Server Side Scripts

8. Client Side and Server Side Scripts

9. Server Side writing Client Side scripts

10. Passing Server Side Arrays to Client Side Scripts

11. Mixing of client-side and server-side scripts

12. Server side variables to client side script?

 

 
Powered by phpBB® Forum Software