Muliple用户aspx项目 [英] Muliple Users aspx project

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

问题描述

Hi-


我创建了一个使用6个aspx页面的.NET Web应用程序。当

用户从一个页面转到下一个页面时,会设置几个变量并在将来的页面上显示

。我今天发现,如果一个人在上,那么,例如,如果另一个用户进入步骤3,那么第一个用户输入的所有

信息都会显示。我错过了

Webconfig或IIS中的设置,允许每个用户获得他们自己的实例

该程序?我需要任何帮助,因为我的时间紧迫。谢谢

Hi-

I have created a .NET web application that uses 6 aspx pages. As the
users goes from one page to the next several variables are set and
displayed on future pages. I found out today that if one person is on
Step 4, for instance, if another user goes to Step 3, all of the
information the 1st user entered displays. Am I missing a setting in
Webconfig or in IIS that allows each user to get their own instance of
the program? Any help is needed as I am on a tight timeline. Thanks

推荐答案

< gr ****** @ comcast.net>在消息中写道

news:11 ********************** @ f14g2000cwb.googlegr oups.com ...
<gr******@comcast.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi-

我创建了一个使用6个aspx页面的.NET Web应用程序。当
用户从一个页面转到下一个页面时,将设置几个变量并在将来的页面上显示。我今天发现,如果一个人在上,那么,例如,如果另一个用户进入步骤3,则第一个用户输入的所有信息都会显示。我错过了Webconfig或IIS中的设置,允许每个用户获得自己的程序实例吗?
Hi-

I have created a .NET web application that uses 6 aspx pages. As the
users goes from one page to the next several variables are set and
displayed on future pages. I found out today that if one person is on
Step 4, for instance, if another user goes to Step 3, all of the
information the 1st user entered displays. Am I missing a setting in
Webconfig or in IIS that allows each user to get their own instance of
the program?




没有"程序"供用户获取实例。请转到MSDN和

了解ASP.NET页面生命周期。


您的页面使用全局变量。永远不要使用全局变量。使用Session

state为每个用户分别提供一些数据副本。


John Saunders



There is no "program" for users to get an instance of. Please go to MSDN and
read about the ASP.NET page lifecycle.

Your pages use global variables. NEVER use global variables. Use Session
state to give each user a separate copy of some data.

John Saunders


好像你的代码出了问题。这些值在哪里存储?
?应用程序变量?


Karl


-

我的ASP.Net教程
http://www.openmymind.net/

< gr ******@comcast.net>在消息中写道

news:11 ********************** @ f14g2000cwb.googlegr oups.com ...
Seems like something''s wrong with your code. Where are these values being
stored? The application variable?

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
<gr******@comcast.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi-

我创建了一个使用6个aspx页面的.NET Web应用程序。当
用户从一个页面转到下一个页面时,将设置几个变量并在将来的页面上显示。我今天发现,如果一个人在上,那么,例如,如果另一个用户进入步骤3,则第一个用户输入的所有信息都会显示。我错过了Webconfig或IIS中的设置,允许每个用户获得自己的程序实例吗?我需要任何帮助,因为我的时间紧迫。谢谢
Hi-

I have created a .NET web application that uses 6 aspx pages. As the
users goes from one page to the next several variables are set and
displayed on future pages. I found out today that if one person is on
Step 4, for instance, if another user goes to Step 3, all of the
information the 1st user entered displays. Am I missing a setting in
Webconfig or in IIS that allows each user to get their own instance of
the program? Any help is needed as I am on a tight timeline. Thanks



我正在使用存储在模块中的全局变量。上面的那个人说

使用会话状态。我是新来的,我不确定那是什么

。你能帮忙吗?

I am using Global variables stored in a module. The guy above says to
use session state. I am new to this and am not really sure what that
is. Can you help?


这篇关于Muliple用户aspx项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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