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
R

raymonxo

@raymonxo
About
Posts
7
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Some experience with Subversion
    R raymonxo

    Mark Tutt wrote: While working out of the office I may not be able connect to the Subversion server to find out why a revision was made... Why wouldn't you be able to access the subversion server? Does your workplace not have a static IP address?

    The Lounge html com collaboration tools

  • Some experience with Subversion
    R raymonxo

    It took me about 1 minute to install the subversion server on windows. It took me the same amount of time to install the TortoiseSVN client. The TortoiseSVN interface is excellent (a context-menu in Windows explorer). We use subversion on a project with over 20 developers located throughout the US. Don't bash something if you have no idea what it is.

    The Lounge html com collaboration tools

  • How to redirect client to submit form using POST method?
    R raymonxo

    In one of my pages (we'll call this page http://myserver.com/page1.aspx) I need to have a button click event handler do the following two things: 1. Update a database record. 2. Force the client to submit a form using the POST method to a page on another server (we'll call this page http://thirdparty.com/submit.aspx). The key is that step 2 occur using the POST method (not the GET method). Solution using GET method ------------------------------- I am able to do this using the GET method as follows (this code is in the http://myserver.com/page1.aspx code-behind page): [code] // This is pseudocode button_click() { Update database record Construct URL to 3rd party server (i.e. http://thirdparty.com/submit.aspx?a=1&b=2) Response.Redirect(URL) } [/code] This works because the form parameters are embedded in the URL. A Solution using POST method ----------------------------------- The only way I've been able to think of doing this using the POST method is as follows (this code is in the http://myserver.com/page1.aspx code-behind page): button_click() { Update database record Construct URL to another page on my server (we'll call this page http://myserver.com/page2.aspx) Response.Redirect(URL) } The page http://myserver.com/page2.aspx contains a form with hidden inputs containing the values that need to be submitted. The method for the form is POST and the action is the third party URL http://thirdparty.com/submit.aspx. In addition, it contains javascript that will auto-submit the form after the page loads. Question ---------- As you can see, this solution is somewhat complex (I believe it's overly complex). Is there a simple way to force a client to submit a form using the POST method without redirecting the client to a page that contains the form? In other words, is there a programmatic way I can do this without requiring that the client be redirected from my first page to my second page only so the second page can immediately submit? Thanks in advance for any suggestions you have!

    ASP.NET question javascript database com sysadmin

  • KazaaLite
    R raymonxo

    Use Limewire instead of Kazaa. It's better than Kazaa in every way (more content, better searches, much better interface). I and everyone I know have stopped using Kazaa. http://www.limewire.com

    The Lounge sysadmin question announcement

  • This sux...
    R raymonxo

    Man, that does suck. I can't believe Dimebag Darrell's dead. He was one of the biggest influences on me when I was playing guitar back in the 90's. It's a sad day.

    The Lounge html com announcement

  • Managed C++ or C#
    R raymonxo

    I forgot to mention, I recommend using C# if you are developing new applications for .NET. C# has a much cleaner syntax than C++; this will be especially true with .NET 2.0 features such as generics. I used to develop in C++ and now that I've been using C# for more than a year I can't imagine going back. C# is so clean and intuitive.

    The Lounge csharp c++ dotnet question learning

  • Managed C++ or C#
    R raymonxo

    Yes, C# is easier and allows you to be more productive when developing in a purely managed environment. Please explain how Managed C++ is more powerful when developing in a purely managed environment :confused:. I don't believe this to be true.

    The Lounge csharp c++ dotnet question learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups