Logout.aspx.cs 419 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. namespace LYFZ.WanYuKeFu
  8. {
  9. public partial class Logout : System.Web.UI.Page
  10. {
  11. protected void Page_Load(object sender, EventArgs e)
  12. {
  13. LYFZ.Command.Command_Session.Del("User");
  14. Response.Redirect(@"~\Login.aspx");
  15. }
  16. }
  17. }