Though this is NOT LotusScript code being used, LS DOES work in web apps. You just can’t use the UI classes (because there’s no Notes Client UI being used). However, the back-end LS classes work fine in a web browser and are accessed either through the WebQueryOpen/WebQuerySave events or via passing a url to the server which runs the agent (agentname?openagent). I use these quite often with ajax calls to LS agents that process information and return it to the browser as xml or html. However, they can be done without using AJAX style calls as normal WQO/WQS agents. Just be aware, when using these two styles of agents, of the event processing order if you have onLoad or onSubmit code.