ASPAlliance.com : The #1 Active Server Pages .NET Community The #1 ASP.NET Community
Search   Search

Subscribe   Subscribe

Powered by ORCSWeb Hosting


Site Stats


Powered By ASP.NET
 
Featured Sponsor

Featured Columnist


Featured Book
XML for ASP.NET Developers
XML for ASP.NET Developers

Find Prices
Read Review
Read Review
Sample Chapter


New! asp.netPRO

We publish our articles in the standard RSS format.

Powerful .NET Email Component

Code Sharing Software

Print this article

Article Index . Cross Browser Remote Scripting Client
Cross Browser Remote Scripting Client
Jonathan Cogley
02/25/2003

This article outlines a new Remote Scripting client which is available for use in ASP and ASP.NET.

Background
The Microsoft Remote Scripting client uses a hidden applet to make the calls back to execute server side code. Unfortunately due to security limitations, the applet doesn't work in Netscape or Mozilla. This can be overcome by signing the applet but this requires a valid certificate for the hosting server and can be a costly and troublesome exercise.

Drop-in Client Replacement
There is now a new client (msrsclient.js) from Thycotic Software Ltd available for the Microsoft Remote Scripting protocol based on Brent Ashley's JSRS code. It uses a container specific to the browser to dynamically load content from the server side code and then evaluate that returned content into useful data structures. This mechanism allows the code to execute in any browser. It follows the exact same API as the original Remote Scripting client with one current limitation: it only supports asynchronous calls.

Features and Downloads
Thycotic Remote Scripting Client - download the client and get more information on features.
There is also a sample application using msrsclient.js in ASP.NET available for download.

Credits
Thanks to Brent Ashley for his advice and permission in making this client possible.

*WORKING DEMO* of Cross Browser Remote Scripting in .NET
Click here!

Related Downloads
Sample ASP.NET application using Remote Scripting

About the author
Originally from South Africa, Jonathan Cogley has worked as a software consultant in the UK and the USA. He is now based in Pittsburgh, Pennsylvania where he operates Thycotic Software Ltd, a company he started in 1996. His favorite languages are Perl, Java, JScript/Javascript and C#.


Copyright © 2002 Thycotic Software Ltd.
 Copyright © 2000-2003 ASPAlliance.com  Page Rendered at 2/9/2010 2:05:27 PM