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. pass form data to asp page from ASP .net

pass form data to asp page from ASP .net

Scheduled Pinned Locked Moved ASP.NET
2 Posts 2 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
    Steven M Hunt
    wrote on last edited by
    #1

    Hi. I've been working on a new .net login system at my job and I've been running into many problems. I need to convert the asp page to .net, and the conversion never works because the asp has COM and a lot of SSI's in it, and a lot of it is giberish anyway. So i figured i could pass form data to it to get it to think it was getting data from itself, the only problem is we're adding a "User needs to change password screen" and so there's another asp .net page it gets sent to first. i figured Server.Transfer could handle classic ASP from .net, only it throws an exception every time. So, basically i need a way to pass form data to the asp page WITHOUT response.write() writing out a form with a button and username/password in the hidden inputs. A server-side way would be preferred. Is this possible or should I just start looking forward to the COM and ASP and SSI madness?

    -- Steven Hunt

    K 1 Reply Last reply
    0
    • S Steven M Hunt

      Hi. I've been working on a new .net login system at my job and I've been running into many problems. I need to convert the asp page to .net, and the conversion never works because the asp has COM and a lot of SSI's in it, and a lot of it is giberish anyway. So i figured i could pass form data to it to get it to think it was getting data from itself, the only problem is we're adding a "User needs to change password screen" and so there's another asp .net page it gets sent to first. i figured Server.Transfer could handle classic ASP from .net, only it throws an exception every time. So, basically i need a way to pass form data to the asp page WITHOUT response.write() writing out a form with a button and username/password in the hidden inputs. A server-side way would be preferred. Is this possible or should I just start looking forward to the COM and ASP and SSI madness?

      -- Steven Hunt

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      Have you tried the Respond.Redirect instead of the Server.Transfer? Also there is an AspCompat attribute in your @Page directive. This is what MS help says: AspCompat When set to true, allows the page to be executed on a single-threaded apartment (STA) thread. This allows the page to call STA components, such as a component developed with Microsoft Visual Basic 6.0. Setting this attribute to true also allows the page to call COM+ version 1.0 components that require access to unmanaged Active Server Pages (ASP) built-in objects. These are accessible through the ObjectContext object or the OnStartPage method. The default is false. Note Setting this attribute to true can cause your page's performance to degrade. For more information, see the Remarks section. Anyway, Hope that helps. Ben

      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