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. Login session in ASP.NET(using VB)

Login session in ASP.NET(using VB)

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-server
3 Posts 3 Posters 1 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.
  • P Offline
    P Offline
    Prodigy201
    wrote on last edited by
    #1

    Hi all, I am novice to ASP.NET. I am studying ASP.NET(coding in VB.NET) using .NET 2003 version with SQL SERVER 2000 I am working on Login Authentication. I am supposed to maintain Users account with login session for every user, i.e. I need to take care of session started after logging in till the user logout from his account. How to create and maintain session in ASP.NET ? I would appreciate if anyone could sort out this difficulty. Thank you. Prodigy. P.S - I am aorking on ASP.NET 2003 using VB.Net and SQL Server 2000

    P S 2 Replies Last reply
    0
    • P Prodigy201

      Hi all, I am novice to ASP.NET. I am studying ASP.NET(coding in VB.NET) using .NET 2003 version with SQL SERVER 2000 I am working on Login Authentication. I am supposed to maintain Users account with login session for every user, i.e. I need to take care of session started after logging in till the user logout from his account. How to create and maintain session in ASP.NET ? I would appreciate if anyone could sort out this difficulty. Thank you. Prodigy. P.S - I am aorking on ASP.NET 2003 using VB.Net and SQL Server 2000

      P Offline
      P Offline
      PrakashBhaskar
      wrote on last edited by
      #2

      Session("userName") = assign your user name by this way you can maintain the username untill your session get expire.

      Thanks Warm Regards Prakash-B

      1 Reply Last reply
      0
      • P Prodigy201

        Hi all, I am novice to ASP.NET. I am studying ASP.NET(coding in VB.NET) using .NET 2003 version with SQL SERVER 2000 I am working on Login Authentication. I am supposed to maintain Users account with login session for every user, i.e. I need to take care of session started after logging in till the user logout from his account. How to create and maintain session in ASP.NET ? I would appreciate if anyone could sort out this difficulty. Thank you. Prodigy. P.S - I am aorking on ASP.NET 2003 using VB.Net and SQL Server 2000

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        In Login page Assign values to Session Varaible such as Seesion["UserName"]="Some Value" ok now check this session in every page load if it is null then redirect it to login page so that if user log out and click back button he should able to access anything

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        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