On page one I would like to create an instance of a class as such:
pOne = New pClass()
xOne = New xClass(pOne)
Then on subsequent pages I would like to be able to use pOne and xOne. Since pOne and xOne are local to page one how can I use them in other pages?
You may use Session variable to store that object and use it in another page.
in second page, read the session
It is a good practice to always do a null check before accessing a variable
Here is the VB.NET version ( I hope this works, I don’t have much experience in VB.NET)
In second page read the session,