Keep Session variables seperate for each IE tab.

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!
 
M

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top