473,387 Members | 3,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Form Submit, Post Method showing form Values in URL

RamananKalirajan
608 512MB
Hi All,
I am having a form with post method. When I submit the form.. the Form Input values are shown in the url. Generally, In post method the values are posted in the body. "Get" method only shows the values in the url. I dont want to display my form input values in the url. What should I do. Any suggestions will be helpful.

Thanks and Regards
Ramanan Kalirajan
Nov 2 '09 #1
5 3660
Dormilich
8,658 Expert Mod 8TB
from what you describe, you’re sending get data. post the code so that we can have a look (too many possibilities).
Nov 2 '09 #2
RamananKalirajan
608 512MB
Hi Dormilich, Sorry I found the mistake. It was my Friend who wrote the code and without examining the code I posted the code. He explicitly set the values in the url. Thats y i was able to see the form values in the url.
Expand|Select|Wrap|Line Numbers
  1. function loginvalidator()
  2. {
  3. alert("in the login");
  4. var username = document.getElementById('usrName').value;
  5. var password = document.getElementById('usrPwd').value;
  6. this.document.formLogin.action = "loginvalidator.exc?username="+username+"&password="+password;    
  7. this.document.formLogin.method = "post";
  8. this.document.formLogin.submit();
  9. }
This was the code, which was making the form variables to be displayed in the url. I know how to resolve this. I am sorry for posting without seeing my mistake and thanks for those who tried to findout the problem.

Thanks and Regards
Ramanan Kalirajan
Nov 2 '09 #3
Dormilich
8,658 Expert Mod 8TB
@RamananKalirajan
no problem, do you wanna guess how many times I found the solution just by making a last minute check just before posting?
Nov 2 '09 #4
RamananKalirajan
608 512MB
Let me Guess.. 10% of ur total Post 340 times... A guess :-P. Thanks Man

Thanks and Regards
Ramanan Kalirajan
Nov 2 '09 #5
Dormilich
8,658 Expert Mod 8TB
@RamananKalirajan
let’s say 10% of my started threads.
Nov 2 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jason | last post by:
Is it possible to POST a FORM to multiple URLS at the same time....OR.... Is the only workaround for this scenario to use response.redirect in the called ASP page and do a multi processing? -...
8
by: TNGgroup | last post by:
Hi, Question, I have a simple form and want to submit a selected value of a combo box. so my combo box is named "selectname" and my form has action="file.asp?" what do I have to put after the...
5
by: Paxton | last post by:
I created an html email containing a form whose method is POST. The form is posted to an asp page for processing, but no values are retrieved. So I response.write all the Request.Form fields, and...
3
by: Kassam | last post by:
Hi MVPs out there. I have constructed an order form and the users will enter the informtion. I now need to send the filled out form as an e-mail (body being the HTML with the fille din data) to...
5
by: Navillus | last post by:
Hey gang, I have a login form that is empty by default, but can be filled with values from a previous form: <input type=text maxlength="40" size="40" name="user" value="`usr`"> <input...
3
by: Bill | last post by:
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table...
26
by: Jerim79 | last post by:
I need to create a form that takes a number that the user enters, and duplicates a question the number of times the user entered. For instance, if the customer enters 5 on the first page, when...
1
by: fugaki | last post by:
Hi everyone I'm learning asp, and i downloaded this script to teach me how to post form data from a webpage to an access database. I put it on the server so i could make sure that it worked, and...
5
stepterr
by: stepterr | last post by:
Hi Everyone, I'm new to PHP and have been working on an existing from that had been in Coldfusion but needed to be converted to PHP. I have most of it working except I ran into a problem when...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.