My goal is to keep track of clients with cookies and their sessions. This is needed because I don't like WCF's builtin authentication process, where they are just give the generic login popup in the browser [1]. I'm looking to have a login page and give the user the capability to logout. I don't want to use IIS at all to host my service. Is HttpContext the only way to maintain sessions/cookies? Is this possible in a selfhosted WCF Service? Is this possible with WebHttpBinding
? The closest post I could find to this one was: Sessions in self-hosted WCF services but it was unsatisfactory.
Asked
Active
Viewed 1,658 times
0
1 Answers
0
I answered my own question here:
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/67a1ea91-af62-44f8-9a6b-0982c7d05da8

ymerej
- 727
- 1
- 8
- 21
-
Hi, please could you post a more clean code with your answer i figured the same problem. did you solved your problem? – Henka Programmer May 31 '19 at 21:04
-
@HenkaProgrammer This is super old. I wouldn't use WCF in this day and age. – ymerej Jun 03 '19 at 14:45
-
I am working on a server app that must support tcp/http/netpipe for that reason I use WCF, any suggestion? – Henka Programmer Jun 05 '19 at 11:27