Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はasp.netアプリケーションを持っています。ユーザーがブラウザで戻るナビゲーションを実行した場合、現在のセッションをクリアするにはどうすればよいですか?
次の方法でセッションを削除できます(おそらく必要なものです):
Session.Abandon();
または、次の方法でセッション内のすべての値をクリアします。
Session.Clear();