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. Globally use of Hash Table in Web Application

Globally use of Hash Table in Web Application

Scheduled Pinned Locked Moved ASP.NET
data-structurescryptography
3 Posts 3 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.
  • G Offline
    G Offline
    gautamamit8
    wrote on last edited by
    #1

    Hi All I need some values to insert and get in HashTable globally in my web application.I make a class an declare it public but when i get the value from hashtable in another page it shows no value.How I access a hash table globally in my application.Pls suggest. Thanks in Advance

    Amit Gautam

    R F 2 Replies Last reply
    0
    • G gautamamit8

      Hi All I need some values to insert and get in HashTable globally in my web application.I make a class an declare it public but when i get the value from hashtable in another page it shows no value.How I access a hash table globally in my application.Pls suggest. Thanks in Advance

      Amit Gautam

      R Offline
      R Offline
      Rhys Gravell
      wrote on last edited by
      #2

      The web is stateless. You'll need to persist the populated HashTable between postbacks. Depending on your needs, be they per user or genuinely per web application instance. Look into using the Web Application Cache, the current Session, and the ViewState for the page.

      Rhys "The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it" They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance." Terry Pratchett

      1 Reply Last reply
      0
      • G gautamamit8

        Hi All I need some values to insert and get in HashTable globally in my web application.I make a class an declare it public but when i get the value from hashtable in another page it shows no value.How I access a hash table globally in my application.Pls suggest. Thanks in Advance

        Amit Gautam

        F Offline
        F Offline
        Fayu
        wrote on last edited by
        #3

        Investigate GLOBAL.ASAX

        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