www.webdeveloper.com
Results 1 to 2 of 2

Thread: Javascript URL Repeating - Server Crash

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    Post Javascript URL Repeating - Server Crash

    Hi,

    Gotta problem whereby a button on a page is calling an ASP.NET file (.aspx file extension) passing through some parameters.

    However, sometimes it appears part of the url being delivered is repeated until the string is 16,000 characters long. The string is then thrown at the server, which promptly crashes and throws an error.

    The string ends up looking something like this:

    https://sitename.net/filepath/aspx_file.aspx?parameter1=value1https://sitename.net/filepath/aspx_file.aspx?parameter1=value1https://sitename.net/filepath/aspx_file.aspx?parameter1=value1https://sitename.net/filepath/aspx_file.aspx?parameter1=value1https://sitename.net/filepath/aspx_file.aspx?parameter1=value1 (etc, etc)

    All parameters are being encoded before the URL string is built and sent to the server. I cannot find any reserve words in any of the code (JS or ASP.NET), nor can I see any of the same parameters used in this particular piece of JS or any of the .js files loaded to the site.

    With this limited about of background info does anyone have any experience with this issue? Many thanks for your time.

  2. #2
    Join Date
    Jan 2009
    Location
    Insanity
    Posts
    1,131
    Sorry, the crystal ball is in shop being repaired.

    Perhaps if you posted your code and ensured you wrapped in forum tags (those buttons # <> and PHP) then you might get a better response.
    We all have baggage to carry in life, unfortunately for me I always get the trolley with the wonky wheel...
    Code:
    Youre = {
          STILL_not_getting_it:function(){
               alert("YOU, the original poster / thread starter NEED to POST the code and NOT a LINK.");
          },
          MissingThePoint:function(msg){
                alert("You're missing the point. " + msg);
          }
    }
    Youre.STILL_not_getting_it();

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles