WScript和ASP问题 [英] WScript and ASP question

查看:67
本文介绍了WScript和ASP问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,


我可以在ASP页面内使用WScript启动另一个进程并在此其他进程仍在运行时回发到客户端吗?


我想这样做的原因是因为我们正在创建PDF并且它们需要长达2分钟(很多处理来创建PDF),我们希望将其作为离线流程并通过电子邮件发送给它当它完成时没有让他们在网页上等待完成。


Thx

jonpfl

All,

Can I use WScript inside an ASP page to kick off another process and post back to the client while this other process is still running?

The reason I want to do this is because we are creating PDFs and they are taking as long as 2 mins (alot of processing to create PDFs) and we would like to have it as an offline process and email it to them when it is done and not have them waiting at a webpage for completion.

Thx
jonpfl

推荐答案

这就是我在.asp页面上所做的事情

This is what I am doing on my .asp page

展开 | 选择 | Wrap | 行号


我认为我说对了你一旦开始从shell运行一个vbs脚本,你的ASP代码将继续处理,但它应该很容易测试。


你得到的错误是什么?


博士B
I think I''m right in saying that once you start to run a vbs script from a shell your ASP code will continue to process but it should be easy enough to test.

What''s the error you''re getting?

Dr B


我没有正确道路的愚蠢错误!!!


但这导致另一个问题。我的ASP页面中有以下内容

My dumb mistake of not having the right path!!!

But that leads to another problem. I have the following in my ASP page

展开 | 选择 | Wrap | 行号


这篇关于WScript和ASP问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆