开发者

Call an asmx webservice without extending user session

In my ASP.net 3.5 application I'm calling an asmx webservice that is part of the application. Calling the webservice entends the user's session timeout, which is undesirable in this case.

How can I call a webservice on my server with开发者_如何学JAVAout extending the session timeout? Is there a way in IIS to designate it as being outside of the session scope? (apologies if I'm using incorrect terminology) Can I designate a directory in the ASP.net web.config file as being outside the session?

Thanks.


Problem solved!

You can create a new application in IIS with a root directory underneath your original application. This is done in the IIS MMS snap-in in the properties pane of the directory you want as the new root. Click "Create application" and you're done. The new application inherits the parent application's web.config, seemingly, so little no configuration needs to be done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜