views:

35

answers:

1

I have been making use of the WCF Authentication Service in ASP.Net but I have found that whenever you navigate all session, user, login data is lost.

I have tested using the Standard ASP.Net Login page and mechanism and everything works fine...

Why is nothing persisting from one page to another?

A: 

I found the problem. I was hosting my pages in IIS and was navigating to localhost but the cookie for WCF based authentication was being created on the fully qualified external site name (mycomputer.ourdomain.org).

Oliver