By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,961 Members | 2,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,961 IT Pros & Developers. It's quick & easy.

? retaining data within project accross webforms

P: n/a
Hi have a question hope there is a simple answer. I want to enter data
in to 2 arrays from several webforms in project and be able to recall
that data from any of the webforms, other then using a querystring

I tried creating a module as follows

Module dataspecs
Public ar1(0) As Integer
Public ar2(0) As Integer
End Module

This works fine, I can read and add data to the arrays from each
webform from within the project. Only one problem, it seems if there
are 2 pc's accessing the project whatever pc1 enters,updates is also
available to pc2 and visa versa. It seems both share the same copy
across all webforms. Is there a way for each user to have there own
copy of the fields(array) across the project.

Hope I explained the problem

Thanks Jerry
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Yeah, that seems very odd. I really can't see how 2 seperate requests to
this page, are resulting in the same results. I could be having a severe
brain cramp at the moment, but I don't think that should be the case.

Please post some more code, and further details.

-mike

"Netserver" <N@free.com> wrote in message
news:7t********************************@4ax.com...
Hi have a question hope there is a simple answer. I want to enter data
in to 2 arrays from several webforms in project and be able to recall
that data from any of the webforms, other then using a querystring

I tried creating a module as follows

Module dataspecs
Public ar1(0) As Integer
Public ar2(0) As Integer
End Module

This works fine, I can read and add data to the arrays from each
webform from within the project. Only one problem, it seems if there
are 2 pc's accessing the project whatever pc1 enters,updates is also
available to pc2 and visa versa. It seems both share the same copy
across all webforms. Is there a way for each user to have there own
copy of the fields(array) across the project.

Hope I explained the problem

Thanks Jerry

Nov 18 '05 #2

P: n/a
Store the Arrays in Session this will ensure each user will have it's own
copy.

Thanks
Nakul

"Netserver" <N@free.com> wrote in message
news:7t********************************@4ax.com...
Hi have a question hope there is a simple answer. I want to enter data
in to 2 arrays from several webforms in project and be able to recall
that data from any of the webforms, other then using a querystring

I tried creating a module as follows

Module dataspecs
Public ar1(0) As Integer
Public ar2(0) As Integer
End Module

This works fine, I can read and add data to the arrays from each
webform from within the project. Only one problem, it seems if there
are 2 pc's accessing the project whatever pc1 enters,updates is also
available to pc2 and visa versa. It seems both share the same copy
across all webforms. Is there a way for each user to have there own
copy of the fields(array) across the project.

Hope I explained the problem

Thanks Jerry

Nov 18 '05 #3

P: n/a
yeah I did that, that is use session. but it seems funny that MS lets
you use a data structure in a module that is updateable by all and
viewable by all, but does not give you the ability for indivisual
copies per user..If you remember vb6.0, they had a GLOBAL varibale
that could be accessed accross the project but it did not let other
users access it......hmmmmmmmmmmmm

Jerry

On Fri, 2 Jan 2004 21:44:52 +0530, "Nakul" <na****@hotmail.com> wrote:
Store the Arrays in Session this will ensure each user will have it's own
copy.

Thanks
Nakul

"Netserver" <N@free.com> wrote in message
news:7t********************************@4ax.com.. .
Hi have a question hope there is a simple answer. I want to enter data
in to 2 arrays from several webforms in project and be able to recall
that data from any of the webforms, other then using a querystring

I tried creating a module as follows

Module dataspecs
Public ar1(0) As Integer
Public ar2(0) As Integer
End Module

This works fine, I can read and add data to the arrays from each
webform from within the project. Only one problem, it seems if there
are 2 pc's accessing the project whatever pc1 enters,updates is also
available to pc2 and visa versa. It seems both share the same copy
across all webforms. Is there a way for each user to have there own
copy of the fields(array) across the project.

Hope I explained the problem

Thanks Jerry


Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.