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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Asp.net session problem

Asp.net session problem

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netcom
4 Posts 4 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.
  • A Offline
    A Offline
    abhinish
    wrote on last edited by
    #1

    hi! i have created a web application in asp.net www.akshbroadband.com i have used session variables to crate sessions in it but i am facing a problem . when i close the browser the session automatically get closed. without logging out. which should not close unless we r not logged out can u help me !!!!! u can view the web site it is in working condition !!!!! bye abhinav

    A E 2 Replies Last reply
    0
    • A abhinish

      hi! i have created a web application in asp.net www.akshbroadband.com i have used session variables to crate sessions in it but i am facing a problem . when i close the browser the session automatically get closed. without logging out. which should not close unless we r not logged out can u help me !!!!! u can view the web site it is in working condition !!!!! bye abhinav

      A Offline
      A Offline
      Ahmed Galal
      wrote on last edited by
      #2

      sessions will be closed by default when the browser is closed and the Session_End event will be fired in the global.ascx file, i think u need to use cookies to recognize logged-in users.

      T 1 Reply Last reply
      0
      • A abhinish

        hi! i have created a web application in asp.net www.akshbroadband.com i have used session variables to crate sessions in it but i am facing a problem . when i close the browser the session automatically get closed. without logging out. which should not close unless we r not logged out can u help me !!!!! u can view the web site it is in working condition !!!!! bye abhinav

        E Offline
        E Offline
        enjoycrack
        wrote on last edited by
        #3

        hi there, u can do log out when user closes browser by using javascript << >>

        1 Reply Last reply
        0
        • A Ahmed Galal

          sessions will be closed by default when the browser is closed and the Session_End event will be fired in the global.ascx file, i think u need to use cookies to recognize logged-in users.

          T Offline
          T Offline
          Tiger456
          wrote on last edited by
          #4

          Hai How can we done it using Cookies. can u give a sample code snippet Thanks and regards

          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