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. session related..

session related..

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasehelp
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.
  • R Offline
    R Offline
    r_e_h_a_n
    wrote on last edited by
    #1

    I made a login page, where user will register and then login using their names and passwords, session is creating in this page for each user who will login, now my problem is that i want to retrieve the usernames from database of each specific user who logged in, and a message e.g (Welcome! Rehan Munir) should be show on page. "Rehan Munir" is ther users lastname and first name, how this will happen and plz tell me that when a user logged in he should redirect to another page and welcome msg should be shown on the next page, have any idea related to this work (Plz don't suggest me starter kits, and code in VB.NET) I'm a C# developer so plz tell me in sense on C# coding. m.reehanmunir

    G 1 Reply Last reply
    0
    • R r_e_h_a_n

      I made a login page, where user will register and then login using their names and passwords, session is creating in this page for each user who will login, now my problem is that i want to retrieve the usernames from database of each specific user who logged in, and a message e.g (Welcome! Rehan Munir) should be show on page. "Rehan Munir" is ther users lastname and first name, how this will happen and plz tell me that when a user logged in he should redirect to another page and welcome msg should be shown on the next page, have any idea related to this work (Plz don't suggest me starter kits, and code in VB.NET) I'm a C# developer so plz tell me in sense on C# coding. m.reehanmunir

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Store the id of the user in a session variable, so that you can use it to track the user. --- b { font-weight: normal; }

      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