会议空 [英] session empty

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

问题描述



看过以下问题或者可以帮忙吗?

我访问页面....我读了一个sesssion-var。 ... everythink工作......我

再次访问该页面.....错误... sessionvar为null ....我访问

再次.... null ...再次......它的工作原理.....再次......它的工作原理......再一次

..... null .... ......等等.......

它随机工作与否......


这是什么影响?


谢谢

alex


who has seen the follow problem or could help please?
i visit a page .... i read a sesssion-var . ... everythink works...... i
visit the page again..... error ... the sessionvar is null .... i visit
again .... null ... again .... it works ..... again ... it works ... again
..... null....... and so on and on ....
it does randomly work or not....

what is this effect?

thanks
alex

推荐答案

随便,我会说有什么东西你的代码错了。根据您对问题的描述以及您对代码的描述,这就是我所能说的所有内容,而不是做出疯狂的假设。好吧,还有一件事我会告诉你:它不是随机的。这对你来说似乎是随机的,因为你确实不知道原因。

-

HTH,


Kevin Spencer

Microsoft MVP

..Net开发人员

你所寻求的是你得到的。 />

" Alexander Widera" < AW ** @ hrz.tu-chemnitz.de.invalid.de>在消息中写道

news:eh ************** @ TK2MSFTNGP14.phx.gbl ...
Offhand, I''d say there is something wrong with your code. Based on your
description of the problem, and your description of your code, that''s all I
can say without making wild assumptions. Well, there is one other thing I
can tell you: it''s not random. It just seems random to you because you do
not know the cause.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Alexander Widera" <aw**@hrz.tu-chemnitz.de.invalid.de> wrote in message
news:eh**************@TK2MSFTNGP14.phx.gbl...
hi,
谁见过以下问题或者可以帮忙?
我访问了一个页面....我读了一个sesssion-var。 ... everythink有效......我再次访问该页面.....错误... sessionvar为null ....我再次访问
.... null。 ..再次....它的工作原理.....再次......它的工作原理......再次..... / .... .... null .......等等......等它是随机工作与否....

这是什么影响?

感谢
alex

who has seen the follow problem or could help please?
i visit a page .... i read a sesssion-var . ... everythink works...... i
visit the page again..... error ... the sessionvar is null .... i visit
again .... null ... again .... it works ..... again ... it works ... again
.... null....... and so on and on ....
it does randomly work or not....

what is this effect?

thanks
alex



我无法理解....我找不到原因...

似乎有2个版本的sesssion ..但是没有2个
会话.... sessionID总是一样的...我做了一个Response.Write来支持

SessionID ... 。

但有时会产生这种效果:

开始时,Session-Var我现在称它为篮子。 (因为它是一个

购物篮)是null ...

每次调用一个页面时,如果basket == null,则测试它......如果是这样的话,

" basket = new Basket();" ....那么它永远不应该是null ...但它有时会再次获得'b
&b'B
而不是这个:我将一个项目添加到购物篮....然后我点击概述

的篮子......篮子是空的还是有这个项目....

它会变得更好:我添加另一个项目...有时

篮子存在两次....一个篮子与item1另一个与item2

....或另一个篮子是简单地说空了......我无法理解这一点...

....但是只有2个版本的篮子......还有更多......
(或更少)

帮助我,请。


谢谢.. alex


凯文斯宾塞 <柯*** @ DIESPAMMERSDIEtakempis.com> schrieb im Newsbeitrag

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
i can''t understand it .... i don''t find the cause...
It seems there are 2 versions of the sesssion... but there aren''t 2
sessions.... the sessionID is always the same ... I did a Response.Write for
the SessionID ....
but sometimes there is this effect:
At the beginning the Session-Var I call it now "basket" (because it is a
shop-basket) is null...
every time a page is called it is tested if "basket==null" ... if so,
"basket = new Basket();".... then it should never be "null" ... but it get''s
sometimes again "null"
and than this: i add an item to the basket .... and i click on the overview
of the basket ... the basket is either null or it has this item....
and it''s getting much more better: i add another item ... and sometimes the
basket exists two times .... one basket with item1 and the other with item2
.... or the other basket is simply null ... i can''t understand this ...
.... but there are only 2 versions of the basket.. .there are not more ....
(or less)
Help me, PLEASE.

thanks.. alex

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP10.phx.gbl...
Offhand,我会说你的代码有问题。根据您对问题的描述以及您对代码的描述,我可以说,而不是做出疯狂的假设。好吧,还有一件事我可以告诉你:它不是随机的。这对你来说似乎是随机的,因为你不知道原因。
-
HTH,

Kevin Spencer
微软MVP
.Net开发人员
你所寻求的是什么。

Alexander Widera < AW ** @ hrz.tu-chemnitz.de.invalid.de>在消息中写道
新闻:eh ************** @ TK2MSFTNGP14.phx.gbl ...
Offhand, I''d say there is something wrong with your code. Based on your
description of the problem, and your description of your code, that''s all
I can say without making wild assumptions. Well, there is one other thing
I can tell you: it''s not random. It just seems random to you because you
do not know the cause.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Alexander Widera" <aw**@hrz.tu-chemnitz.de.invalid.de> wrote in message
news:eh**************@TK2MSFTNGP14.phx.gbl...

谁见过以下问题或者可以帮忙吗?
我访问页面....我读了一个sesssion-var。 ... everythink有效......我再次访问该页面.....错误... sessionvar为null ....我再次访问
.... null。 ..再次....它的工作原理.....再次......它的工作原理......
再次.... null .......等等......等它是随机工作与否....

这是什么影响?

感谢
alex

who has seen the follow problem or could help please?
i visit a page .... i read a sesssion-var . ... everythink works...... i
visit the page again..... error ... the sessionvar is null .... i visit
again .... null ... again .... it works ..... again ... it works ...
again .... null....... and so on and on ....
it does randomly work or not....

what is this effect?

thanks
alex







我再问一次......怎么可能是???

我登录"并创建一个会话变量并填充它....并在另一个页面....

(帧!)我得到随机null或sessionvar的内容....

请帮帮我...我疯了

Alexander Widera < AW ** @ hrz.tu-chemnitz.de.invalid.de> schrieb im

Newsbeitrag新闻:eB ************** @ TK2MSFTNGP09.phx.gbl ...
I ask again .... how could that be???
I "login" and create a session var and fill it.... and on an other page ....
(frames!) i get randomly null or the content of the sessionvar ....
please help me ... i''m going mad
"Alexander Widera" <aw**@hrz.tu-chemnitz.de.invalid.de> schrieb im
Newsbeitrag news:eB**************@TK2MSFTNGP09.phx.gbl...
我不能理解它....我找不到原因...
似乎有2个版本的sesssion ......但是没有2个会话.... sessionID总是一样的...我做了一个Response.Write
对于SessionID ....
但有时会产生这种效果:
会话开始时Var我现在叫它篮子 (因为它是一个商店购物篮)是空的......
每次调用一个页面时,如果basket == null,则测试它。 ......如果是这样,
basket = new Basket();" ....那么它永远不应该是null ...但它有时会再次null而不是这个:我将一个项目添加到购物篮......我点击了
概述篮子...篮子要么是空的,要么就是这个
项目......
它会变得更好:我添加另一个项目......有时候
篮子存在两次....一个篮子与item1和另一个与
item2 ...或另一个篮子只是空...我不能理解这个
...
...但是只有2个版本的篮子.. ..没有更多....
(或更少)
帮助我,请。

谢谢..亚历克斯

凯文斯宾塞 <柯*** @ DIESPAMMERSDIEtakempis.com> schrieb im Newsbeitrag
新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
i can''t understand it .... i don''t find the cause...
It seems there are 2 versions of the sesssion... but there aren''t 2
sessions.... the sessionID is always the same ... I did a Response.Write
for
the SessionID ....
but sometimes there is this effect:
At the beginning the Session-Var I call it now "basket" (because it is a
shop-basket) is null...
every time a page is called it is tested if "basket==null" ... if so,
"basket = new Basket();".... then it should never be "null" ... but it
get''s sometimes again "null"
and than this: i add an item to the basket .... and i click on the
overview of the basket ... the basket is either null or it has this
item....
and it''s getting much more better: i add another item ... and sometimes
the basket exists two times .... one basket with item1 and the other with
item2 ... or the other basket is simply null ... i can''t understand this
...
... but there are only 2 versions of the basket.. .there are not more ....
(or less)
Help me, PLEASE.

thanks.. alex

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP10.phx.gbl...
随便,我会的说你的代码有问题。根据您对问题的描述以及您对代码的描述,我可以说,而不是做出疯狂的假设。好吧,还有一件事我可以告诉你:它不是随机的。这对你来说似乎是随机的,因为你不知道原因。
-
HTH,

Kevin Spencer
微软MVP
.Net开发人员
你所寻求的是什么。

Alexander Widera < AW ** @ hrz.tu-chemnitz.de.invalid.de>在消息中写道
新闻:eh ************** @ TK2MSFTNGP14.phx.gbl ...
Offhand, I''d say there is something wrong with your code. Based on your
description of the problem, and your description of your code, that''s all
I can say without making wild assumptions. Well, there is one other thing
I can tell you: it''s not random. It just seems random to you because you
do not know the cause.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Alexander Widera" <aw**@hrz.tu-chemnitz.de.invalid.de> wrote in message
news:eh**************@TK2MSFTNGP14.phx.gbl...

谁见过以下问题或者可以帮忙吗?
我访问页面....我读了一个sesssion-var。 ... everythink有效......我再次访问该页面.....错误... sessionvar为null ....我再次访问
.... null。 ..再次....它的工作原理.....再次......它的工作原理......
再次.... null .......等等......等它是随机工作与否....

这是什么影响?

感谢
alex

who has seen the follow problem or could help please?
i visit a page .... i read a sesssion-var . ... everythink works...... i
visit the page again..... error ... the sessionvar is null .... i visit
again .... null ... again .... it works ..... again ... it works ...
again .... null....... and so on and on ....
it does randomly work or not....

what is this effect?

thanks
alex





这篇关于会议空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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