本文介绍了不会保存会话对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我有一个使用会话对象的asp.net应用程序(ag。会话(UserID))。 该应用程序在开发/调试模式下工作正常。我将它发布到测试 服务器(运行其他.NET应用程序的Windows 2000服务器)和 ,当我坐在运行应用程序的服务器上时,它也是运行正常。 但是,如果我坐在局域网上的任何工作站上它都不起作用。我把问题缩小到了这个问题,因为当它们应该包含数据时,所有会话对象都不包含任何内容。是否需要在应用程序或服务器上完成某些事情才能解决这个问题?如何在应用程序上线时获取 会话对象来保存数据? ScottI have an asp.net app that uses session objects (ag. session("UserID")).The app works fine in development/debug mode. I released it to the testserver (Windows 2000 server with other .NET applications running on it) andwhen I am sitting at that server running the application, it also runs fine.But, if I sit at any workstation on the LAN it does not work. I narrowedthe problem down to the fact that all of the session objects contain nothingwhen they should contain data. Is there something that needs to be done inthe application or on the server that can fix this? How can I get thesession objects to hold the data when the application goes live?Scott推荐答案 这篇关于不会保存会话对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!