How to create "namespace" in session valid until browser is closed?
<p>For example, I'd like to create "namespace" in session that should be valid until browser is closed. </p>

<p><code>$_SESSION['other_data'] = array(...)</code> - is valid until session is valid
<code>$_SESSION['valid_until_browser_is_closed'] = array(...)</code> - is valid until browser is closed.</p>

<p>The only "solution" I see is to create additional cookie that will exprire as browser is closed. And when accessing <code>$_SESSION['valid_until_browser_is_closed']</code> we should check existense of this cookie first. Of course we should wrap working with sessions to some kind of class.</p>

<p>Thank you</p>
