Login control not working in IE7

Last post 04-09-2008 10:58 AM by thirumaran007. 10 replies.

Sort Posts:

  • Login control not working in IE7

    02-04-2008, 12:06 AM
    • Member
      2 point Member
    • jasdever
    • Member since 01-04-2008, 8:04 PM
    • Posts 6

    I spent the last few weeks getting a client site up and running, but all the while I was doing all my testing with Firefox.

    I tried seeing what it would look like in IE7, and everything is great.  Except that I cannot login with it.

     I do not know for the life of me why.

    Any ideas?

     I am using VWD 2008 and i have a 3.5 web.

     Thanks.

  • Re: Login control not working in IE7

    02-04-2008, 12:24 AM
    • Contributor
      2,619 point Contributor
    • Sweeperq
    • Member since 01-04-2006, 9:58 PM
    • Madison, WI
    • Posts 538

    More details? Are you getting an error? What happens when you try to log in?

    Do you have your authentication set to cookies only and have cookies disabled in IE7?

    When your question has been sufficiently answered, please be sure to mark your question as answered. Also, please share your solution if you had to figure it out on your own!
  • Re: Login control not working in IE7

    02-04-2008, 12:29 AM
    • Member
      2 point Member
    • jasdever
    • Member since 01-04-2008, 8:04 PM
    • Posts 6

     Authentication mode is form

     

    Basically when I click login, nothing happens at all.  I dont even think I get a postback.

    Cookies are not disabled in IE7. 

  • Re: Login control not working in IE7

    02-05-2008, 3:32 AM

    Hi

    Is it possible that javascript is not enabled?

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Login control not working in IE7

    02-07-2008, 2:13 AM

    Hi,

    jasdever:
    Basically when I click login, nothing happens at all.  I dont even think I get a postback.

    Do you input the some characters in the username or the password textbox?

    Because these two textbox have the validation controls, if the the validation tests faild, the ASP.NET sends the page back to the client device without postback.

     

    Hope it helps.

    Amanda Wang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Re: Login control not working in IE7

    02-08-2008, 9:32 PM
    • Member
      2 point Member
    • jasdever
    • Member since 01-04-2008, 8:04 PM
    • Posts 6

     Yes, I enter characters.  You can try loging in yourself at http://www.centaurcase.com and click login.

  • Re: Login control not working in IE7

    02-10-2008, 10:14 PM

    Hi,

    I have a test on your website on the IE and firefox, the result as you said, the login button can work on the fiefox, but not on IE.

    It is very  weird!  But i create a new page, and drag a login control on the page, the login button works on the firefox and IE.

    But after review the source code of the login page, we find there seems exists two form tags on the login page:

     1. <form name="aspnetForm" method="post" action="login.aspx?ReturnUrl=%2fDefault.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">

     2. <form action="~/SearchResults.aspx" id="searchbox_017601747286395297899:nl-qqt5da6y">

    You need to delete the second form tag or remove the runat=sever of the second form tag, because you can have more than one form tags, but only one form runs at server on one page, or else, the page cannot work fine at the render time.

    If there is cannot help you solve your problem, I'a afraid that you need to post the login page's code here for further help.

    Hope it helps

    Amanda Wang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Re: Login control not working in IE7

    02-11-2008, 6:13 PM
    • Member
      2 point Member
    • jasdever
    • Member since 01-04-2008, 8:04 PM
    • Posts 6

     Interesting.  The Googlebox is the culprit in IE7.  It works fine being there in FF.

    There is no form runat=server in the googlebox code.  Its just a straight html code. maybe I need to wrap it in an Iframe, but that will not work for govt users, and some corps who block iframes. 

    <form action="~/SearchResults.aspx" id="searchbox_017601747286395297899:nl-qqt5da6y">
                    <input type="hidden" name="cx" value="017601747286395297899:nl-qqt5da6y" />
                    <input type="hidden" name="cof" value="FORID:9" />
                    <input type="text" name="q" size="25" />
                    <input type="submit" name="sa" value="Search" />
                    </form>

                    <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_017601747286395297899%3Anl-qqt5da6y&lang=en"></script>

     Anyways, Once determining that this google search box was the culprit, I did a google search (the irony in that...) and found a way to do this with ASP.NET

    http://www.codeproject.com/KB/aspnet/CustomSearchEngine.aspx

     

    I will post back as soon as I know it works. 

     

  • Re: Login control not working in IE7

    04-09-2008, 8:48 AM
    • Member
      4 point Member
    • UTB
    • Member since 02-08-2008, 2:06 PM
    • Sweden - Sundsvall
    • Posts 2

    Hi There

    Im having the exact same problem but I do not have two form tags on my page... I´ve been looking for a solution but the only thing I´m finding out is that there are others with the same problem :( No solution...

    I have a master page and a login control on a content page. FireFox works but not IE. When I try to logon from IE I just get forwarded to the default page... But I do not get logged in. I´ts just like the authentication succeds but IE does not get a cookie :( And yes cookies is on.

    Everything works ok behind my router... So if I go into the page with 192.168.1.4/MyVirtualDirectory/login.aspx It works fine... But if I use the same laptop from the outside and go through my ip-adress i cant login... This is driving me crazy lol

    Any suggestions would make me really happy!!!

    Uffe

  • Re: Login control not working in IE7

    04-09-2008, 10:43 AM
    • Member
      4 point Member
    • UTB
    • Member since 02-08-2008, 2:06 PM
    • Sweden - Sundsvall
    • Posts 2

    Hello again.

    After some clicking around I´ve discovered that IE think that my site is trying to set a third party cookie when ASP.NET perform the login and tries to set the auth cookie. How is this possible? I have nothing on my site accept a masterpage and some content pages...

    I checked the above by going into IE -> Tools -> Privacy -> Advanced. And checked override cookiehandling. Then I choose prompt third party cookie. Then when I logged onto my site IE prompted for the third party cookie...

    If it helps I can tell you that I have pointed my domain to my ip/a virtual dir from my domainprovider. I do not have the site directly under default website in IIS.

    Thanks Uffe

  • Re: Login control not working in IE7

    04-09-2008, 10:58 AM
    • Contributor
      2,423 point Contributor
    • thirumaran007
    • Member since 03-14-2007, 1:39 AM
    • India
    • Posts 519
    Hi Friend, Your URL working fine in FireBox.
    With Friendly,
    Thirumaran

    Please remember to click "Mark as Answer" on this post if it helped you
Page 1 of 1 (11 items)