Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Logout code..

Logout code..

Scheduled Pinned Locked Moved C#
questioncsharphelplearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    momoo
    wrote on last edited by
    #1

    Hi, everyone.. I just started learning C# web application not long ago.. I like to enquire that if the user wants to logout of the web page/site, what is the code for the logout command when i click on the logout button?? Sorry as my question is too simple for you guys.. But thanks for the help.. ;) Thanks

    D 1 Reply Last reply
    0
    • M momoo

      Hi, everyone.. I just started learning C# web application not long ago.. I like to enquire that if the user wants to logout of the web page/site, what is the code for the logout command when i click on the logout button?? Sorry as my question is too simple for you guys.. But thanks for the help.. ;) Thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      That all depends on what your using to handle logins. There is no one way of authenticating, tracking, and giving roles to users of your site. How you do the logout depends ENTIRELY on how you designed your authentication package, how your tracking your user sessions, what you need to do when the user logs out, or the session times out. Without a LOT more detail about your security system, it's impossible for anyone to tell you how to code your logout. That is, other than dropping a button on a form and handling it's click event. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups