This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / 请教问题:从a网页 login,在b网页显示user信息,然后有1个link到c网页,为什么c网页上的user信息都没了。怎么keep state? 多谢阿
-beaverjoy(beaverjoy);
2007-11-25
(#4081645@0)
-
Use cookie
-ywxemotion(易吾心);
2007-11-26
(#4082038@0)
-
那不可靠
-duoshaosuanshao(不多也);
2007-11-26
(#4082064@0)
-
use seesion.
-kevin_tor(KFC);
2007-11-26
(#4082081@0)
-
server side session
-denegation(denegation);
2007-11-26
(#4082124@0)
-
If it’s in a single web server, using InProc session is better. However, if it’s in a web farm (multi-web servers) or it may scale up to web farm in the future, using Cookie is better.
-deep_blue(BLUE);
2007-11-26
(#4082788@0)
-
thank u both. I handle it by using session. and further, what is inProc session and web farm?
-beaverjoy(beaverjoy);
2007-11-26
(#4082930@0)
-
这两个东西跟你现在要做的没什么关系. 前者是.NETsession存在何处, 后者是系统结构. 你的问题可以检查: 1 C页跟前面两页是不是一个application, 不是的话不能共享session; AJAX也不能自动共享session; 2如果是在一个application中, 很可能是typo, 特别注意大小写有没有弄错.
-piglet(迪斯尼fan);
2007-11-26
(#4083449@0)
-
If page c is not in same application of other pages, you have to use cookie or query string to transfer data.
-deep_blue(BLUE);
2007-11-27
(#4084436@0)