Global Properties?

  • Thread starter Thread starter pbd22
  • Start date Start date
P

pbd22

Hi.

Can somebody tell me if it is possible to access
property values (say, in a separate class) from Page_B
that were created in Page_A?

Thanks!
 
pbd22 said:
Hi.

Can somebody tell me if it is possible to access
property values (say, in a separate class) from Page_B
that were created in Page_A?

Thanks!


One uses a global public access object that holds the variable for
read/write that every class or page can see when it's a public class object.

You need to look up how to use Let and Get in an class/object to hold
variables data that can be seen, set and get fro every class.
 
pbd22,

Keep in mind that a webapplication is stateless, of course you can access
any property in an application that is project.

You can forever instance that. However be aware that as soon that a page is
send, the properties lose their values (as long as that are not as a kind of
constant declared values). To keep those values you can store them in a
session item or send them with the page in a viewstate. (It can as well in
the cache or in its kind of equivalent a shared class, but that is a lot of
work, as that is dealed by all sessions at the same time).

Cor
 
Back
Top