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. call other asp page within the same session.

call other asp page within the same session.

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

    hello, I want to call an ASP page and retrieve the response. This can be done with HttpWebRequest, but this request seems to be launched as a different session ? I want to avoid posting a form or working with the querystring, so everything is stored in the session. anyone has an idea what I should do? gr, Niko

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    V 1 Reply Last reply
    0
    • N NikoTanghe

      hello, I want to call an ASP page and retrieve the response. This can be done with HttpWebRequest, but this request seems to be launched as a different session ? I want to avoid posting a form or working with the querystring, so everything is stored in the session. anyone has an idea what I should do? gr, Niko

      << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

      V N 2 Replies Last reply
      0
      • V Vasudevan Deepak Kumar

        I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

        V Offline
        V Offline
        Venkatesh Mookkan
        wrote on last edited by
        #3

        Vasudevan Deepak K wrote:

        I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.

        Can ASP.NET cookies/Request Headers sharable with ASP or other ASP.NET application? If so, where is the security then?

        [Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot

        V 1 Reply Last reply
        0
        • V Venkatesh Mookkan

          Vasudevan Deepak K wrote:

          I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.

          Can ASP.NET cookies/Request Headers sharable with ASP or other ASP.NET application? If so, where is the security then?

          [Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Check this discussion thread: http://www.velocityreviews.com/forums/t68503-sharing-asp-session-variables-with-aspnet-using-httpwebrequest.html[^]

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

          1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

            N Offline
            N Offline
            NikoTanghe
            wrote on last edited by
            #5

            hello, Thanks for your answer. found some other http://forums.asp.net/p/945319/1145830.aspx[^] only cookie ASP.NET_SessionId needs to be replaced. for the moment, can't get this to work correctly...

            << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

            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