Passing values from ASP.NET to PHP
<p>Is there anyway to pass values from ASP.NET to PHP easily using Session or any other? I tried in the below way but it didn't work for me. Anybody either correct the below code or suggest me a way to pass values from ASP.NET to PHP without using URL query string.</p>

<p>ASP.NET code.</p>

<pre><code>protected void Button1_Click(object sender, EventArgs e)
    {
        HttpCookie cookie = new HttpCookie("myvalue1");
        cookie.Value = "joe@example.com";
        Response.Redirect("Default.php");
    }
</code></pre>

<p>PHP code.</p>

<pre><code>&lt;?php
session_start();
$_COOKIE['myvalue1'];
$cookies = getCookies();
$sessionId = $cookies['myvalue1'];
?&gt;
</code></pre>
