Solved

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

Posted on 2006-07-06
5
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Gain an elementary understanding of Blockchain technology.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

724 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