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. share sessions between asp and asp.net

share sessions between asp and asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
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.
  • S Offline
    S Offline
    sharkfish
    wrote on last edited by
    #1

    Is there a canned piece of code out there (C#, preferably) somewhere I can use to share session values from asp.net to asp? I have a couple of scripts I won't have time to re-write, and I'd rather not spend scarce funds on a third party product. Thanks in advance.

    C 1 Reply Last reply
    0
    • S sharkfish

      Is there a canned piece of code out there (C#, preferably) somewhere I can use to share session values from asp.net to asp? I have a couple of scripts I won't have time to re-write, and I'd rather not spend scarce funds on a third party product. Thanks in advance.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      We did it here, by writing a service. The service was called from the asp and then again from C# via COM interop. We used the session ID as a key into a hash table of key/values and just stuffed them into the asp.net session, having passed them in from the asp session. Sadly, the code belongs to my employer, so I can't give it to you. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

      H 1 Reply Last reply
      0
      • C Christian Graus

        We did it here, by writing a service. The service was called from the asp and then again from C# via COM interop. We used the session ID as a key into a hash table of key/values and just stuffed them into the asp.net session, having passed them in from the asp session. Sadly, the code belongs to my employer, so I can't give it to you. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

        H Offline
        H Offline
        henningbenk
        wrote on last edited by
        #3

        I've seen the code for such a service somwhere recently. Have the link at work. So I will post it here on Monday.

        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