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. Web Development
  3. ASP.NET
  4. Logg off users with session.timeout

Logg off users with session.timeout

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
3 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.
  • V Offline
    V Offline
    viktor9990
    wrote on last edited by
    #1

    I wonder if it is possible from a button click or a link to logg off (some unwanted logged on users or all users) in an asp.net application with session.timeout or another way?Thankfull for any code example/url

    A 1 Reply Last reply
    0
    • V viktor9990

      I wonder if it is possible from a button click or a link to logg off (some unwanted logged on users or all users) in an asp.net application with session.timeout or another way?Thankfull for any code example/url

      A Offline
      A Offline
      Albert Pascual
      wrote on last edited by
      #2

      If you are storing Sessions on SQL just delete their SessionID and they'll be out!

      V 1 Reply Last reply
      0
      • A Albert Pascual

        If you are storing Sessions on SQL just delete their SessionID and they'll be out!

        V Offline
        V Offline
        viktor9990
        wrote on last edited by
        #3

        Do you mean that I should store the users sessionID in a database Table when they logg into the application and then delete these from the database (delete from Tablename , statement)? I did not make any changes in my Web.config file. Do I have to change the way I'm storing sessions there to make this work?Thanks for your help

        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