Two Vb/Web questions

  • Thread starter Thread starter active
  • Start date Start date
A

active

How to have a String variable available to all (or some group of) pages in a
web site.

How to reference a variable in a class from another class.


Thanks for any help.
 
See below in context.
active said:
How to have a String variable available to all (or some group of) pages in
a web site.
Have you tried using a Session variable?
How to reference a variable in a class from another class.
Class variable? What is the access specifier? Shared or instance variable?
Assuming the fielod is private, use a public Property to give controlled
exposure to other classes.
Actual access techniques will depend on the answers to the questions above.
 
Thanks
I'll try making a public Property.
Need to find out how to reference the page containing the property.
I'll try it now.

Thanks
 
Back
Top