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. Sharing Session

Sharing Session

Scheduled Pinned Locked Moved ASP.NET
helpquestion
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.
  • U Offline
    U Offline
    User 446798
    wrote on last edited by
    #1

    hi Can anyone help me if 1.two web projects can share same session object or not? If yes, How? shelly

    G T 2 Replies Last reply
    0
    • U User 446798

      hi Can anyone help me if 1.two web projects can share same session object or not? If yes, How? shelly

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

      I guess if they run under the same app , than yes. Just place them in the same virtual directory. Try and you'll find out.

      1 Reply Last reply
      0
      • U User 446798

        hi Can anyone help me if 1.two web projects can share same session object or not? If yes, How? shelly

        T Offline
        T Offline
        TPatterson
        wrote on last edited by
        #3

        You may have to build a Session Manager object and store the session variables in your database. This is because the Http Session object cannot be shared. I had to build the Session Manager object to interface the old asp with the new asp.net pages, even though they both existed under the same project. Search of MSDN "How to share session state" gives you this article - http://msdn.microsoft.com/library/en-us/dnaspp/html/converttoaspnet.asp

        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