0

What i want: pass values to public properties in a Page and call that specific instance, i cant use query variables coz that can be manipulated, also there are a lot of properties so keeping in session would be memory intensive, is there any way to assign the properties to the page and response.redirect to the page.

I had a look at the following post but dint get much of any idea.

Response.Redirect to Class that inherits from UI.Page?

Does anybody know any solution thanks

Community
  • 1
  • 1
shabby
  • 3,002
  • 3
  • 39
  • 59

2 Answers2

0

If you are not worried about SEO on the second/new page you could try Server.Transfer http://msdn.microsoft.com/en-us/library/ie/ms525800(v=vs.90).aspx

ozhug
  • 983
  • 11
  • 19
0

Yes you can use query by encrypt it. Do not make you life so difficult with complex thinks, just encrypt it, and decrypt it with error checking and that's all.

here is a sample code for encrypting query strings: http://www.codeproject.com/Articles/33350/Encrypting-Query-Strings

you can also make a cross-page postback that check for the valid of the data, see this example:

Cross-page postbacks and back again retaining data from source page

Community
  • 1
  • 1
Aristos
  • 66,005
  • 16
  • 114
  • 150