Keep Session variables seperate for each IE tab.

  • Thread starter Thread starter pvong
  • Start date Start date
P

pvong

Using .Net 2 / VB.Net

If a user opens IE and searchs for a client and ask for the details, the
onClick of GO grabs the ClientID and stores it as a session variable called
"ClientID". A lot of times, my clients will leave this one client open and
open another tab in IE and look for another client and go to that detail.
When they hit GO on the second tab, my code always says to clear the session
variable and grab the current clientid variable. This all works fine until
they switch back over to the original tab and click on another like like
"Client Address." They get the client's address from the second tab because
that is now the new ClientID. I hope that makes sense. Is there a way to
create session variables so it's only good for that particular IE tab?

Thanks!
 
Is there a way to
create session variables so it's only good for that particular IE tab?

No, since they both share the same session. You probably want to store
the ClientId in viewstate or hidden fields instead.


Mattias
 
Back
Top