Archived Forum Post

Index of archived forum posts

Question:

[Visual Baisc] How can i handle a site with public cookie?

Nov 18 '13 at 23:08

Hello,

I have a problem with both of chilkat socket and chilkat http. A site use these steps to login:

A -> connect to B -> Login to B -> B will refresh to A with A cookies (Without any response cookies in the response)

Here is the HTML code after login to B website:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <SCRIPT LANGUAGE="JavaScript">
      window.location.replace("https://site A/");
    </SCRIPT> 
    <NOSCRIPT>
      <meta http-equiv="Refresh" content="0;URL=https://site A/">
    </NOSCRIPT> 
    <title>pubcookie redirect</title>
  </head>
  <body>
  </body>
</html>

And here is the code when we get the A site:

<html>
<head>
<meta http-equiv="Refresh" content="0;URL= Site B">
</head>
<body bgcolor="#ffffff">
</body>
</html>

I need some help to do that.