? retaining data within project accross webforms

  • Thread starter Thread starter Netserver
  • Start date Start date
N

Netserver

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
 
yes cookies work but alot of fields would have to be recoded, the
example i gave does work but does not provide saperate copy of fields
for each user, it would seem to me MS would have seen for
this"seperate" copies of fields.....would like to know if they did, it
would come in handy later

Jerry
 
Hi Jerry,

In addition to Austin Wise about the "session", you can also look what the
"viewstate" can do for you.

I hope this helps,

Cor
....
 
Back
Top