title: Need a Unique ID in javascript for tab windows and for new windows in Internet Explorer
body: <p>Need a simple approach to get a Unique ID in javascript for tab windows in Internet Explorer. I basically was wondering if there is something like document.tab.indexnumber, which there is not. So the real question is if there is anything that can be used to generated this or find out what tab you are in ? Similarly I should be able to get another unique id for another instance of internet explorer ?<br>
  I cannot use an IE addon for this.</p>
  
  <p>An additional complication is that we could use a random number generator plus timestamp for a unique id as suggested below in one of the answers. But how can I keep this same number across the same session for that tab. If I store it in a session variable it is shared between all tabs/windows with that session.</p>
  
  <p>We could put the id in the url or a hidden field, but that solution would be to intrusive to the design of the site. Looking for something less intrusive.</p>