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. logOut Problem.

logOut Problem.

Scheduled Pinned Locked Moved ASP.NET
help
5 Posts 5 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.
  • R Offline
    R Offline
    Rahul DSG
    wrote on last edited by
    #1

    hello.. i am trying to make a logout function..... can anyone give me some idea about it.......

    H A B A 4 Replies Last reply
    0
    • R Rahul DSG

      hello.. i am trying to make a logout function..... can anyone give me some idea about it.......

      H Offline
      H Offline
      himanshu2561
      wrote on last edited by
      #2

      Hi Clear your session objects and redirect to your homepage.

      himanshu

      1 Reply Last reply
      0
      • R Rahul DSG

        hello.. i am trying to make a logout function..... can anyone give me some idea about it.......

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        merahul wrote:

        hello.. i am trying to make a logout function..... can anyone give me some idea about it.......

        Ok. I believe you are storing the user information in session variable. So, use Session.Abondan() while log off. and while checking the Session in Home Page, check first session is null or not before doing in steps, if its null redirect to login page.

        cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

        1 Reply Last reply
        0
        • R Rahul DSG

          hello.. i am trying to make a logout function..... can anyone give me some idea about it.......

          B Offline
          B Offline
          Baran M
          wrote on last edited by
          #4

          if you need to disable browser's back functionality [^]

          Education is not a way to escape poverty — it is a way of fighting it.

          1 Reply Last reply
          0
          • R Rahul DSG

            hello.. i am trying to make a logout function..... can anyone give me some idea about it.......

            A Offline
            A Offline
            ais07
            wrote on last edited by
            #5

            What actually you want to do,you want to redirect to another page or anything else.

            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