会话价值变化不一致 [英] Session Value Change inconsistently

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

问题描述

我的课程遇到奇怪的问题.
我在一个会话中存储一个值,然后将页面重定向到另一个会话.
当我访问所使用的会话的值时,它发生了变化..奇怪的是,它间歇性地发生.
它发生在我的一个应用程序中,用户在其中搜索订单,然后单击编辑"按钮.获取结果的订单编号.
订单ID存储在会话中.存储后,我将页面重定向到另一个页面以查看完整的订单详细信息,具体取决于会话中存储的订单号.
但是当我访问它时,订单号发生了变化.该值现在是随机的,但它存在于之前存储的先前的orderid中.我曾尝试清除缓存,但存在相同的问题.奇怪的是,大多数时候,这个问题永远不会发生.只有2个用户遭受这种情况.
我不确定这个问题,我认为我的代码对此不负责,因为该问题是间歇性的.
help pl ..


只是一个普通的家伙

I'm having a weird problem over my session.
I store a value in one of my session then redirect my page to another one.
when i accessed the value of the session that i used, it changed.. the weird thing is it happens intermittently.
it happens in one of my applications where users search for an order then click the edit button to get the orderid of the result.
the orderid is stored in the session. after storing, i redirect my page to another page to view the full order details depending on the orderid stored in the session.
but when i accessed it, the orderid changed. the value now is random but it exist in previous orderid that was stored before. I've tried clearing the cache but same problem exist. The weird thing is most of the time, This problem never occur. only 2 users suffers from this scenario.
I'm not sure about the problem and i think my code is not responsible for this since the problem is intermittently.
help pls..


Just An Ordinary Guy

推荐答案

感谢您的发帖!我建议您在一个MS论坛中发布您的问题,

首页常规ASP .NET »状态管理

位于此处:http://forums.asp.net/22.aspx


这篇关于会话价值变化不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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