Last post Jan 29, 2019 06:26 AM by Wei Zhang
Jan 28, 2019 02:24 PM|crocboy25|LINK
This is a hard to describe scenario. In VB.net VS 2015, on a web page I dynamically create gridviews on a button click. This works fine. However, if I have two Internet Explorers (version 11) open using different sessions at the same time, the creation of
the gridviews becomes screwed up if you try and create(using the button click) more gridviews in either IE window. It is like the viewstate between the two different IE windows becomes entangled.
When I open the second IE window, I use the FILE, NEW SESSION method. When we create the new gridviews we give it a generated ID appending the session ID onto the end to make sure it is unique. This has not fixed it.
Also, if we run one IE window from our local machine and one from our development server, the problem does NOT occur. The problem lies when it is run from the same server.
Does anyone have any insight on where I could find where the problem maybe?
Thanks for any help
Jan 29, 2019 06:26 AM|Wei Zhang|LINK
According to your description, this problem occurs because two IE tabs shares the same session and both of them will cause state of viewstate changing ,as a result they will effect each other so it will cause the problem of viewstate.
In my opinion, you could create a new tab in IE browser with new session, or you could view page in different browsers. Here is the link , I hope it could help you.