web service session works while debugging but not when its published

I'm finishing up my first web service. It stores data on a dataset that I later need to check up on, so I need to keep that information around.

I've already enabled the session in the web service's method "EnableSession = true"

[WebMethod(Description = "Receives status requests, as well as status udpates.", EnableSession = true)]

If I debug the web service everything works but if I try to use the application that sends the requests to the web service while it is published, the session keeps restarting again and again and again. Can anyone please tell me who do I have to kill to get this going?


You have to setup a cookie container in the client:

var cookieContainer = new System.Net.CookieContainer();
client.CookieContainer = cookieContainer;

Need Your Help

Irregular cell images -Downloading images using gcd and adding to NSMutable array, then displaying in tableview cells

ios uitableview grand-central-dispatch

I download images from links and add it to an NSMutableArray. This is then to be used as the cell image. I get a list of books from one link and filter the content of the table, then I have a sepa...

For comma-separated

javascript regex

I'm new to RegEx and JavaScript and I was wondering if anyone knew what the RegEx would be for detecting whether or not an input field contained the following type of format:

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.