where does window.somedata gets stored
<p>In JavaScript when i say <code>window.SomeData = 'whatever'</code>, where does it get saved in the browser? I thought it gets saved in the <code>viewstate</code> but it doesnt. Also how much security concern is it to save some data in <code>window.someKey</code>. I am not talking about username or password storage but some general data like PK values of some records.</p>

<p>--Edit--</p>

<p>The reason i am asking this is because i have a page with 5 tabs and each tabs gets loaded by an AJAX call. I need to save the data that comes back from AJAX request and currently i am using window.somekey to save it.</p>
