ASP.NET Web API Persistent Cookie

I have a REST service that a user will authenticate with, that I'm porting from WCF REST services. With WCF Rest, there were problems when persisting the user with a cookie, and instead I had to use the database and create a ticket system. Is there support for cookies in Web API where I can create a persistent ticket like I would in MVC or web forms for a user, or do the same problems persist with web API too?

Thanks.

Answers


Cookies in WebAPI have worked just as I expected (coming from an ASP, webforms, then mvc background). Although, the api for interacting with cookies is a little wonky.


Need Your Help

kineticjs move image on button click

javascript html5 canvas move kineticjs

I am using this example to create a canvas etc. What I would like to do is move the position of the yodaGroup or yodaImage via button click. Has anyone ever done this or know how to do this?

Unable to set active Excel sheet C#

c# excel ssis

I am running some C# code as part of a script component running in my SSIS package. I am trying to open an Excel file and change the name of the sheet prior to importing the file in the next step o...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.