Hey guys,
I just read somewhere that Session is shared among multiple tabs open to the same site whereas ViewState is not. Is this true? I can see this causing some serious problems if a user has the same page open in two different tabs but the value being held in the Session variable should be different (an ID number for example) for each page.
Can someone just give me an overview of gotchas that could occur in this situation? I've been trying to troubleshoot an odd bug in something and I think this might be the cause.
Say you have a page that stores an ID for a customer in a session variable (tab1). Now the user opens another tab (tab2) and go to the same page and that is supposed to store an ID for another customer. What would/could happen in that scenario? Could the ID of one overwrite the other?
Thanks for the help!
prgmrgirl
I just read somewhere that Session is shared among multiple tabs open to the same site whereas ViewState is not. Is this true? I can see this causing some serious problems if a user has the same page open in two different tabs but the value being held in the Session variable should be different (an ID number for example) for each page.
Can someone just give me an overview of gotchas that could occur in this situation? I've been trying to troubleshoot an odd bug in something and I think this might be the cause.
Say you have a page that stores an ID for a customer in a session variable (tab1). Now the user opens another tab (tab2) and go to the same page and that is supposed to store an ID for another customer. What would/could happen in that scenario? Could the ID of one overwrite the other?
Thanks for the help!
prgmrgirl