Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- Using C# HttpClient from Sync and Async code
- Read blob file from Microsoft Azure Storage with .NET Core
- C# Get expiry timestamp from JWT token
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
- C# Using Newtonsoft and dynamic ExpandoObject to convert one Json to another
- Creating dynamic arrays and lists using Dynamic and ExpandoObject in C#
Archive
Meta
Tag Archives: cookie
Sitecore EXM keeps reloading
Have you experienced that in Sitecore, the EXM Email Experience Manager window keeps reloading? In my solution, the problem was that I have a cookie with a “:” (colon) in the cookie name. According to the old RFC 2616 specification, … Continue reading
Check whether client’s browser have cookies enabled
Usually we assume that every user have cookies enabled. I cannot find any stats on the number of users who have disabled cookies, but 94% of all browsers have Javascript enabled, so lets assume that en equal number have cookies … Continue reading
Streaming objects into a cookie
Cookies are text strings that is used within the browser memory. In reality, cookies can store anything, as long as you follow these limitations: Do not store more than 20 cookies per domain. Do not store more than 4096 bytes … Continue reading
Posted in General .NET, Sitecore 4, Sitecore 5, Sitecore 6
Tagged base64string, cookie, serialize, stream
3 Comments
Add and Remove cookies
Creating cookies is no problem: But have you ever tried to remove a cookie, but nothing happens? It seemes that the “Remove” have no effect: Setting a cookie is a dialog between the client and server. Adding a cookie is done … Continue reading