Hello. Does anyone know an eays way to pass variables from a class module to another class module. For instance a logon id, or some other information. Even pass a connection object?
Oops, I forgot to say... I thought about using "Shared" variables, but this will not work as I am coding in asp.net. "Shared variables" are shared among all sessions and not just an individual user. In other words, if 50 people are logged in, then they get the same values in all 50 sessions. I want each user to have their own values. Enough rambling...thanks for reading this....
Hello EmmeS
i am not familiar with the ASP.net but one common way of dealing with the problem that you mentioned is by including a hidden field on the page. Store the information to that (depending on the user) and retrieve it when you need it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.