Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
Thread Tools
Old 07-24-2008, 07:34 AM   #1 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 16
OS: Win98


POST Data Not Being Sent - Only Half the Time

Hey all,

I have two identical sites being hosted - one for production purposes and one for staging. The production site operates the way it should, however the staging site not so much.

The site consists of a web form of two text fields and then the Submit button. Here is the code for the Submit button:

<input type="image" name="LoginImageButton" onclick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); " language="javascript" id="LoginImageButton" vspace="2" src="/images/en/login_bttn.gif" alt="Login" border="0" />

When I enter the data "xxxxx" and submit, it brings back the login page again but with an error displaying that the data is not of correct format, which is exactly what it should do. It must be in an email format. So when you enter "xxx@xxx.com" the page gives a 302 error and redirects to an error page, which it shouldn't do!

Using firebug on the firefox browser I see that when the data "xxx@xxx.com" is submitted, there is no POST data. When the "@" and ".com" is left out there is POST data. All other headers and SSL certificates and such are identical.

The web server is linux-based (redhat enterprise 5) using Squid and SSL. My first guess would be to check into the actual web content located on the server, but I cannot do that at the moment.

Hope my thread makes sense. If you need more information let me know. Any ideas?
JayKF014 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-24-2008, 09:24 AM   #2 (permalink)
TSF Enthusiast
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Northampton, UK
Posts: 816
OS: Win Vista Home Premium & Ubuntu Hardy(8.04)


Re: POST Data Not Being Sent - Only Half the Time

hey could you post the entirety of your code so we can see what's going on in "Page_ClientValidate"? or possibly link to the site?

Cheers,
Jamey
__________________
If i refuse you help because of forum rules don't have a go at me, i quite like this forum and do not wish to get kicked off it. However, if i refuse you help because of some moral issue feel free.

Jamey
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-31-2008, 07:13 AM   #3 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 185
OS: Vista


Re: POST Data Not Being Sent - Only Half the Time

Is the handler strictly JS?
Slapshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 09:28 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81