Accessing another page's viewstate after server.transfer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to access the previous page's viewstate directly through the
context object after a server.transfer. If so, how?

The way i'm doing it is saving all needed items to a structure on the
previous page, then accessing its variables. I would like a much more direct
way if one exists.

thanks
 
Hi!

I don't really know if what you want is possible or not. But it seems to me
as if you should take a look at sessionstate instead of viewstate.

ViewState is saved in hidden fields on the client. SessionState on the other
hand is saved on the serverside. This will reduce the ammount of data sent
back and forth to the server as well. Then you can keep variables from any
page.

Well, I hope you get some help out of this

//Mikael
 
Back
Top