webservices 调用httpcontext无效

me_loong 2007-11-22 05:38:31
我在webservices里调用httpcontext类,但不起做用?
不知道怎么解决,请高手帮忙。
...全文
64 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
UltraBejing 2008-05-01
  • 打赏
  • 举报
回复
关注 接分
sukaru 2007-11-28
  • 打赏
  • 举报
回复
HttpContent.Current.Request.Cookie()只能在asp.net项目里使用 webservice里本就不能用啊。因为cookie需要httpcontext 然而webservice不是。
me_loong 2007-11-27
  • 打赏
  • 举报
回复
就是无法调用。我在WebServices 里做了一个调用HttpContent.Current.Request.Cookie()的方法。
我在其它项目里调用,执行。结果不管用。
sukaru 2007-11-23
  • 打赏
  • 举报
回复
不起作用是什么意思?

12,163

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧