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. Cross-Page Posback fired via ASP.NET Code

Cross-Page Posback fired via ASP.NET Code

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelpquestion
4 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
    gus_br
    wrote on last edited by
    #1

    Hi, I was wondering, is there a way to fire a cross-page postback via C# code? The problems is: I have one error page that displays an error occurred in another page. I don't want to pass the error text through a query string parameter, so I need this kind of approach. And, I cannot use Session to this. Any hint? Thanks in advance...

    E D 2 Replies Last reply
    0
    • G gus_br

      Hi, I was wondering, is there a way to fire a cross-page postback via C# code? The problems is: I have one error page that displays an error occurred in another page. I don't want to pass the error text through a query string parameter, so I need this kind of approach. And, I cannot use Session to this. Any hint? Thanks in advance...

      E Offline
      E Offline
      Eduard Keilholz
      wrote on last edited by
      #2

      Can you not pass an error using a code or something.... like errorpage.aspx?e=123 and then check the number to display diffrent errors? Why can you not use sessions?

      Please vote my message! Click on one of the numbers beside 'Rate this message'. .: I love it when a plan comes together :. http://www.zonderpunt.nl

      G 1 Reply Last reply
      0
      • E Eduard Keilholz

        Can you not pass an error using a code or something.... like errorpage.aspx?e=123 and then check the number to display diffrent errors? Why can you not use sessions?

        Please vote my message! Click on one of the numbers beside 'Rate this message'. .: I love it when a plan comes together :. http://www.zonderpunt.nl

        G Offline
        G Offline
        gus_br
        wrote on last edited by
        #3

        We don't use Session because we have a load balance server configuration. I know, there's a approach for this, but we simply don't use. TY

        1 Reply Last reply
        0
        • G gus_br

          Hi, I was wondering, is there a way to fire a cross-page postback via C# code? The problems is: I have one error page that displays an error occurred in another page. I don't want to pass the error text through a query string parameter, so I need this kind of approach. And, I cannot use Session to this. Any hint? Thanks in advance...

          D Offline
          D Offline
          DavidNohejl
          wrote on last edited by
          #4

          Ah, uh, Server.Transfer()?


          [My Blog]
          "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - RĂ¼diger Klaehn
          "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

          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