I am using ASP.NET 2.0 (VB) and need to have variables that are persistent with respect to postbacks.
Session variables would do the trick, except that, if you right click on a link in the site and say open in new window, that window shares session variables with the one that is already open.
How do I either
(1) make it so that session variables are not shared with the case given above or
(2) use some other mechanism to have persistent variables with respect to postbacks?
Here's some stuff I tried...
I tried using server variables (request.servervariables) as it looked like it might do the trick, but it's read-only. I also tried the me.RegisterHiddenField but it doesn't appear to be persistent across postbacks (when I do me.findcontrol, it doesn't find it after a postback)
Thanks in advance!