How to clone a session variable when openning a new window in the C# ASP.net?
Posted on 2004-04-15
Let say i have 2 session variables: Val1, Val2; and 2 pages: page1, page2 (Page2 is opened when clicking on the link on the page1).
I want that the Val1 is shared between 2 pages but Val2 is separated. It means that if the page2's Val2 is changed in the page2 will not effect the page1's Val2. At the begining, the value of the Val2 in 2 pages should be the same.
How can i do that? Any idea is welcome.
Thank you in advance!