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. For how long we can store the value in session object

For how long we can store the value in session object

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

    Hi all, How long we can store the value in session object may we increase the time duration of storage ? Is there any way to increase the time of storage of value in session object ? Rameez

    N Y H 3 Replies Last reply
    0
    • R Rameez Raja

      Hi all, How long we can store the value in session object may we increase the time duration of storage ? Is there any way to increase the time of storage of value in session object ? Rameez

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Session.TimeOut will say the duration session data will be kept. You can set it to a custom value if required. But before you set it to a big value, make sure you know what you are doing.

      Navaneeth How to use google | Ask smart questions

      R 1 Reply Last reply
      0
      • R Rameez Raja

        Hi all, How long we can store the value in session object may we increase the time duration of storage ? Is there any way to increase the time of storage of value in session object ? Rameez

        Y Offline
        Y Offline
        Yusuf
        wrote on last edited by
        #3

        By default in IIS, session is set to 20 minutes. But this can be changed in IIS. Alternatively you can change setting timeout at runtime using Session.Timeout. But you need to me mindful if you have to change your session timeout.

        Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

        1 Reply Last reply
        0
        • N N a v a n e e t h

          Session.TimeOut will say the duration session data will be kept. You can set it to a custom value if required. But before you set it to a big value, make sure you know what you are doing.

          Navaneeth How to use google | Ask smart questions

          R Offline
          R Offline
          Rameez Raja
          wrote on last edited by
          #4

          Thanks for reply , bt how long we can store the value inside session object i mean time duration ? OR After what time Period session object lost their values automatically ? Best Regards

          N 1 Reply Last reply
          0
          • R Rameez Raja

            Thanks for reply , bt how long we can store the value inside session object i mean time duration ? OR After what time Period session object lost their values automatically ? Best Regards

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            Rameez Raja wrote:

            After what time Period session object lost their values automatically

            That is what TimeOut property says. In default settings, session will timeout after 20 minutes. :)

            Navaneeth How to use google | Ask smart questions

            1 Reply Last reply
            0
            • R Rameez Raja

              Hi all, How long we can store the value in session object may we increase the time duration of storage ? Is there any way to increase the time of storage of value in session object ? Rameez

              H Offline
              H Offline
              Hajab
              wrote on last edited by
              #6

              Refer these links 1. http://www.velocityreviews.com/forums/t300273-session-timeout-setting-in-iis.html 2. http://forums.devshed.com/asp-programming-51/session-and-connection-timeout-72998.html

              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