losing cookie and timeout
<pre><code>    &lt;authentication mode="Forms"&gt;
        &lt;forms path="/" defaultUrl="Default.aspx" loginUrl="Login.aspx" name=".ASPXAUTH" slidingExpiration="true" timeout="3000" cookieless="UseDeviceProfile"/&gt;
    &lt;/authentication&gt;

    private void SetAuthticationCookie(string username)
    {
        FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(username, true, 3000);
        string encTicket = FormsAuthentication.Encrypt(ticket);
        HttpCookie myCookie = new HttpCookie(FormsAuthentication.FormsCookieName, encTicket);
        Response.Cookies.Add(myCookie);
    }
</code></pre>

<p>it works fine in the local computer but when I have sent web application to host server it lost cookie very soon so how I can increase time for two days ?</p>

<p><strong>Added note :</strong> I test with "fire cookie plugin" but there is no cookie set on my web site it is so cool ! I don't know why ? In fact there is cookie because I close Firefox and then run it again my site load data from cookie but the problem is expiration time.</p>

<p><strong>Added log-trace :</strong></p>

<pre><code>HTTP/1.1 200 OK
Date: Sun, 20 Mar 2011 06:19:13 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: PleskWin
Set-Cookie: .ASPXANONYMOUS=6ASaj1gdzAEkAAAAOGU0YTk2NmItNjhiMy00MGIzLTgyYzAtNTc1YThiNmRhNThl0; expires=Sat, 28-May-2011 16:59:09 GMT; path=/; HttpOnly
Set-Cookie: ASP.NET_SessionId=at5qoanwkc31y0xuguomabgw; path=/; HttpOnly
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 148363
</code></pre>
