IIS会话隔离问题 [英] IIS Session isolation problem

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

问题描述

我正在使用 ShDocVW.InternetExplorer 类生成一个新的Internet Explorer对象并进行一些表单填充(对于某些共享点工作).它在我自己的Windows 7机器上运行良好操作系统.但是,当我在Windows Server 2003计算机中部署相同的内容时,它不会弹出Internet Explorer窗口.当我检查任务管理器时,我可以看到一个新的iexplore进程,但会话ID = 0(但Windows 7中的会话ID = 1).因此,我看到这与IIS会话隔离有关.因此,是否可以将 ShDocVW.InternetExplorer 实例分配给新的 System.Diagnostics.Process 实例并实现这个任务?还是可以启动会话ID = 1的新ShDocVW.InternetExplorer实例?

I am using ShDocVW.InternetExplorer class to spawn a new internet explorer object and to do some form filling stuffs(for some sharepoint works).It works fine in my own machine which has Windows 7 as the OS. But when I deployed the same thing in windows server 2003 machine, it does not pop up the internet explorer window. When I check the Task Manager, I could see a new iexplore process, but with Session ID = 0 (but session ID = 1 in windows 7). So, I see this is something regarding IIS Session isolation.So, is it possible to assign a ShDocVW.InternetExplorer instance to kind of a new System.Diagnostics.Process and achieve this task? Or can we start a new ShDocVW.InternetExplorer instance with session ID = 1?

提前谢谢.

推荐答案

是的...我得到了问题的答案,在IIS中,我们无法使用默认设置的Shell Execution生成进程.因此,需要设置2种变通办法,可以从此处找到.顺便说一下,thanx非常感谢你们的投入和支持,这有助于我弄清楚这一点.欢呼...

Yap... I got the answer to the problem, In IIS we cannot spawn processes using Shell Execution with the default settings... If we need to do so, there are 2 workarounds that need to be set which can be found from here. And by the way, thanx very much for you guys' input and support which helps me to figure this out. cheers...

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

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