login problem with multiples instances

Topics: Troubleshooting
Sep 8, 2011 at 9:28 AM

Hi all,

I have a problem when try to log in into the C1 console.

It looks like when you login with one of the instances Composite is creating a cookie and if for some reason you come later  when the session expires and the load balancer assigned to the other server, Composite detects the cookie and dont let you login and show the error below. If we remove all the cookies is working again, but it's annoying to have to remove the cookies every time you try to acces. 

We are using 2.1.1 Build and our set up has 2 instances with a load balancer.

Has someone had this problem before and a fix for this?

Thanks

 

Message: it comes in a pop up which the title admin says: and the text is actually html code embedded into the pop up 

------------------------------------------------

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head><title>

 

                Composite C1

 

</title><link rel="stylesheet" href="content/misc/gatekeeper/AllUsersAllowedFiles/PreLoginPage.css" /></head>

 

<body>

 

    <table height="90%" width="100%">

 

        <tr>

 

            <td align="center">

 

                <div class="StyledBox">

 

                    <div class="ProductBox">

 

                        <div class="Corners Gradient">

 

                            <b class="CornersTop"><b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4">

 

                            </b></b>

 

                            <div class="CornersContent">

 

                                <div class="CornersContentInner ImagesRelative">

 

                                    <div class="StyledBoxText">

 

                                        <form method="post" action="Login.aspx?ReturnUrl=%2fPublicWebsite%2fcms%2fComposite%2fservices%2fConfiguration%2fConfigurationService.asmx%3fWSDL" id="Form1">

 

<div>

 

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTEyMDI3NDAzMmRk6EbqHIK/gjE+g54QCNGC1TetjT3hRsJGmdIS+awZk0A=" />

 

</div>

 

 

 

<div>

 

 

 

                <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBAK8urqjBgL9lveuCgL0yfeeBQKawPWxAvOuwDY2o64QiSay0JOeYFRAF+vgMTGjPduyiJ65VxGk" />

 

</div>

 

 

 

                                        <div>

 

                <img src="/PublicWebsite/cms/Composite/content/misc/gatekeeper/AllUsersAllowedFiles/IconLock.png" style="float:right;margin:0 1em 0 1em;" /><h1><img src='/PublicWebsite/cms/Composite/content/misc/gatekeeper/AllUsersAllowedFiles/Arrow.png' style='position: relative; top: 5px; left: -5px;'/> Login to Composite C1</h1><table>

 

                                <tr>

 

                                                <td style="padding-right:0.3em;"><label for="user_Name">Username:</label></td>

 

                                                <td><input name="user_Name" type="text" id="user_Name" style="border:1px solid #C5C5C5;width:12em;background-color:white;" /></td>

 

                                </tr>

 

                                <tr>

 

                                                <td style="padding-right:0.3em;"><label for="pass_word">Password:</label></td>

 

                                                <td><input name="pass_word" type="password" id="pass_word" style="border:1px solid #C5C5C5;width:12em;background-color:white;" /></td>

 

                                </tr>

 

                                <tr>

 

                                                <td></td>

 

                                                <td align="right" style="padding-top:1em;"><input type="submit" name="ctl19" value=" Login " /></td>

 

                                </tr>

 

                </table>

 

                <div style="height:1.5em;margin-top:0.8em;">

 

 

 

                </div>

 

</div></form>

 

                                    </div>

 

                                </div>

 

                            </div>

 

                            <b class="CornersBottom"><b class="b4"></b><b class="b3"></b><b class="b2"></b><b

 

                                class="b1"></b><b class="b0"></b></b>

 

                        </div>

 

                    </div>

 

                </div>

 

            </td>

 

        </tr>

 

    </table>

 

</body>

 

</html>

Sep 13, 2011 at 9:14 AM

Hi all,

This has been solved, the problem was the persistency on the load balancer wasnt enabled so it was requesting the login page to one instance and post that form to the other instance.

Cheers