本人在用ASP.NET做一个程序时,登录页面有用到COOKIES对象.奇怪的是,我昨天还能正常使用,但今天就出错了,但是在别的昨天没有浏览过此站的机器上确能正常打开相关的页面.昨天访问过此页的机器今天再访问就是出错.不知道什么原因,很纳闷!请高手指点!不胜感激!!
解决方案 »
- 仿163邮箱写信模块选择收信人源码
- 关于vss2005的连接
- 求正则的问题
- gridview放入updatepanel中,导出 excel时出错?
- ImageMagickObject 谁有.net的API?
- C#里怎么执行Oracle的update和delete语句?
- 我该如何随时监视状态?(80分全部加上了)
- 紧急求救:怎样用JavaScript描述 DataGrid中按钮的名字(即外观显示的字符)?(按钮为模板列)
- 从客户端()中检测到有潜在危险的 Request.Form 值——前台如何编码——后台如何替换
- 请哪位大侠给个关于数据库连接、关闭的最好的解决方法。
- 如何在dataGrid中显示一个序号列?
- 请问怎么将Datagrid显示为两列?
你清除一下Cookies,然后再开个窗口试试看!
其实我有好几次都遇到对Cookies命名的时候也要注意的。
--------------------------------------------------------------------------------Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.这是在浏览需要验证的页时出现的错误!
还是少用cookies的好。