Featured in
Architecture & Design

Mini-talks: The Machine Intelligence Landscape: A Venture Capital Perspective by David Beyer. The future of global, trustless transactions on the largest graph: blockchain by Olaf Carlson-Wee. Algorithms for Anti-Money Laundering by Richard Minerich.

Featured in
Process & Practices

In-App Subscriptions Made Easy

There are various types of subscriptions: recurring, non-recurring, free-trial periods, various billing cycles and any possible billing variation one can imagine. But with lack of information online, you might discover that mobile subscriptions behave differently from what you expected. This article will make your life somewhat easier when addressing an in-app subscriptions implementation.

Featured in
Operations & Infrastructure

Mini-talks: The Machine Intelligence Landscape: A Venture Capital Perspective by David Beyer. The future of global, trustless transactions on the largest graph: blockchain by Olaf Carlson-Wee. Algorithms for Anti-Money Laundering by Richard Minerich.

Featured in
Enterprise Architecture

Mini-talks: The Machine Intelligence Landscape: A Venture Capital Perspective by David Beyer. The future of global, trustless transactions on the largest graph: blockchain by Olaf Carlson-Wee. Algorithms for Anti-Money Laundering by Richard Minerich.

Comma Delimited Cookies in ASP.NET with Parser Tool

ASP.NET does not provide support for comma delimited cookes which you will realize if you examine the source code for System.Web.HttpRequest class. You have to make use of semicolon charcter to work with cookies.

However, HTTP state management mechanism document of W3C (RFC2309) states that semicolon and comma are both valid characters to be used as a delimiter for cookie keys. But semicolon is commonly used by developers.

In order to implement comma delimited cookies in ASP.NET, you need to create a tool which simulates ASP.NET to parse cookies with comma instead of semicolon. The steps involved for the creation of a parser tool are as follows

Create HttpModule class that processes each and every request

Check for the existence of comma in cookie header

Parse and extract the cookies to put them in the collection

Keyvan Nayyeri, Software Engineer, Match.com has implemented the above mentioned steps in his parser tool. According to Keyvan, the parser tool does not work if comma is used in the value of cookies and developers will be able to test the module with Fiddler.