Solved

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

Posted on 2006-07-06
5
257 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Javascript onclick event 4 107
Exception creating bean of class 5 167
String format issue 13 90
spring example errors 33 259
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now