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. How can save and read data into the session state for user name and password?

How can save and read data into the session state for user name and password?

Scheduled Pinned Locked Moved ASP.NET
question
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.
  • A Offline
    A Offline
    Aung Paing
    wrote on last edited by
    #1

    I am not understand session state or view state. please!

    S 1 Reply Last reply
    0
    • A Aung Paing

      I am not understand session state or view state. please!

      S Offline
      S Offline
      ShilpaGinodiya
      wrote on last edited by
      #2

      Hi, Refer below link for what is session state and how to save and read values in session state. http://msdn.microsoft.com/en-us/library/6ad7zeeb.aspx[^] Brief about session state and view state: View State are valid mainly during postbacks and information is stored in client only. Viewstate are valid for serializable data only. Moreover Viewstate are not secured as data is exposed to client.It get stored in browser. Although we can configure page directive and machine key to make view state encrypted. Session State- this is user specific data that is stored in server memory . Session state is valid for any type of objects. We can take help of session through different web pages also. But yes this is valid till that user's session. Hope this is of help. Cheers Shilpa

      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