Menu

login issue with https

Help
2011-11-24
2012-09-04
  • artivecoder

    artivecoder - 2011-11-24

    Hi masters,

    I got an issue with login into one website( https://cli.linksynergy.com/cli/c
    ommon/login.php?browserOK).

    I've successfully login into other https site before, but i get wierld data
    when I try to login into this one. (Please see my code & result below).

    Any one knows why?

        <html-to-xml>
        <http method="get" url="[url]https://cli.linksynergy.com/cli/common/login.php?browserOK[/url]">
            <http-header name="Host">cli.linksynergy.com</http-header> 
            <http-header name="User-Agent">Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0</http-header> 
            <http-header name="Accept">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</http-header>
            <http-header name="Accept-Language">en-us,en;q=0.5</http-header>
            <http-header name="Accept-Encoding">gzip, deflate</http-header>
            <http-header name="Accept-Charset">ISO-8859-1,utf-8;q=0.7,*;q=0.7</http-header>
            <http-header name="Connection">keep-alive</http-header>
            <http-header name="Cookie">welcomeCookie=D; PHPSESSID=OeuzfXf4FXaIDiXHlzdKjuoSYg5Zu9CW; lg_filter=ON; s_cc=true; s_sq=linksharepubdashboardprod%3D%2526pid%253DHome%2526pidt%253D1%2526oid%253Dhttps%25253A//cli.linksynergy.com/cli/common/logout.php%2526ot%253DA; langpref=en</http-header>
            <http-header name="Cache-Control">max-age=0</http-header>
        </http>
        </html-to-xml>
    
        <!-- sends post request with needed login information -->
        <html-to-xml>
        <http method="post" url="[url]https://cli.linksynergy.com/cli/common/authenticateUser.php[/url]">
            <http-header name="Host">cli.linksynergy.com</http-header> 
            <http-header name="User-Agent">Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0</http-header> 
            <http-header name="Accept">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</http-header>
            <http-header name="Accept-Language">en-us,en;q=0.5</http-header>
            <http-header name="Accept-Encoding">gzip, deflate</http-header>
            <http-header name="Accept-Charset">ISO-8859-1,utf-8;q=0.7,*;q=0.7</http-header>
            <http-header name="Connection">keep-alive</http-header>
            <http-header name="Cookie"> linksynergyCLI=JVWzyWKLb4DCXGgQYs6Irqp2cE%2FCVFbjMWUrMkRdJ0GQaga%2FxcFUy4OzLSCT1uX2QWIrJGQtAZfXSF2hxPT9c8Jl1qUaHo9ZX2L%2Fir%2Fs1zYkd6c7wCwi6J1PdXeMGVycsW7z47kgkNJ0ZObaacbZeBcezcLsmB6Bmvni47NDCO7VSK5XlmNtWcsPTtPBu4mVFc40KTxmDxYntWsd7sdp1ZfbRI6VwjVOGlW%2FS74zcOnaTzlahG4GU7Fdm54vir3%2FF%2BAAcaw9ToVEvjFfCITHRDcklYrTikf8qrAZmYEz5psJDpIOmR1PScfF5ZMW8ZUwXliZd89%2FZXkob74sPV0Cxoj5fVYBoEcGqzg4LnRR7cDgBsIwuOO3qtaQEEN7DaYSqEgsEyYqSeFygU9Z1JD8HcBneCi0ZcKT5fFnhm1uAhSvJYnquOMCHJVW8JNg7vELAuqfNqb1ZAUeWBLVCJ6uqw%3D%3D; welcomeCookie=D; PHPSESSID=KXMHvyHuRqxxvMDMIFjH6lQhVjgss4s5; lg_filter=ON; s_cc=true; s_sq=linksharepubdashboardprod%3D%2526pid%253DHome%2526pidt%253D1%2526oid%253Dhttps%25253A//cli.linksynergy.com/cli/common/logout.php%2526ot%253DA; lsid=7000621213; currentSid=2400911</http-header>
            <http-param name="front_url"></http-param>
            <http-param name="postLoginDestination"></http-param>
            <http-param name="loginUsername">username</http-param>
            <http-param name="loginPassword">password</http-param>
        </http>
        </html-to-xml>
    

    But I get "https://cli.linksynergy.com/cli/common/login.php?browserOK" as the following, do
    you know why?

     
  • artivecoder

    artivecoder - 2011-11-26

    any helper?

     
  • Anonymous

    Anonymous - 2011-11-27

    what about removing the following line ?

    <http-header name="Accept-Encoding">gzip, deflate</http-header>
    
     
  • artivecoder

    artivecoder - 2011-11-27

    excellent, i can see the code now, Eric.

    Not able to login yet, but good to see the html.

    https seems hard to see what has been posted.

     

Log in to post a comment.