Solved

how to get rid of user=&password=&Submit=Login from a link

Posted on 2006-07-06
5
260 Views
Last Modified: 2011-04-14
I have a form in which i have a submit button
I have made the button a link(a href) so that it goes to the following page

http://chapters-beta.ccim.com/chapters/chapter_admin/alabama?action=show_home

it works fine in mozila but in IE it goes to this page

http://chapters-beta.ccim.com/chapters/alabama?user=&password=&Submit=Login

Please if anyone know why it is doing that,  also the form action is ""

Thanks
0
Comment
Question by:huzefaq
5 Comments
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 17055958
Try putting method="post" in the form attributes like this. see if it works
<form method="post" action="" >

0
 

Author Comment

by:huzefaq
ID: 17055963
It is already like this but still doesn't work in IE
I don't understand where does it get this user=&password=&Submit=Login

Thanks
0
 
LVL 8

Expert Comment

by:thomas908
ID: 17056818
Can you please show your form code.
Are you using Javascript for submitting the form?
0
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 17057736
put your code here & we should be able to help you out
0
 
LVL 16

Accepted Solution

by:
Joe earned 500 total points
ID: 17066461
>>I have made the button a link(a href) so that it goes to the following page

The button should not be a link, it should just be a <input type="submit"  /> and specify method="post" on your form as one previous poster stated.  

A link will always use a get request and pass the parameters in the URL, as you are seeing.

Joe
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question