session_write_close equivalent for asp.net (Disable and Enable Sessions programmatically)
<p>I'm looking for a way to turn on and off session in asp.net in code programmatically.</p>

<p>In php this can easily achieved by using: <code>session_write_close</code> and then <code>session_start</code> function to enable it again.</p>
