SelectPdf Free Html To Pdf Converter for .NET C# / ASP.NET - Helper Page - View HTTP Cookies

This page shows the HTTP Cookies sent to it:

HandLtestDomainNameServer: HandLtestDomainValueServer
laikanxia_cookie_id: 241122022638722
laikanxia_google_v: 2
handl_url: https%3A%2F%2Fifftb.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fifftb.com%252Fhypnose-ophidiophobie-peur-des-serpents%252F
handl_ip: 3.138.126.51
login: username=&uyeid=0
handl_url_base: https%3A%2F%2Fifftb.com%2Fwp-json%2Foembed%2F1.0%2Fembed
handl_landing_page: https%3A%2F%2F30looks.com%2Fproduct-tag%2Fflats%2Fpage%2F1
user_agent: Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29


Sample Code C#



using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SelectPdf.Samples
{
    public partial class view_http_cookies : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string cookies = string.Empty;
            foreach (string key in Request.Cookies)
            {
                HttpCookie cookie = Request.Cookies[key];
                cookies += "<br/>" + cookie.Name + ": " + cookie.Value;
            }

            LitCookies.Text = cookies;
        }
    }
}