Why do we need a 2nd mechanism, next to e.g. The forms authentication mechanism, to keep the state? I have quite a good understanding as to why session tokens are used. I also understand the forms authentication mechanism. What i dont understand is why we need the two.
As the formsauth cookie is unique, we could use this to track the user's state, right? I feel this would be a lot safer: we track the state, and we know the user is authenticated. Ive googled a lot, and often people say that, in asp, it is good practice to link sessionid and authentication token together... That is actually the same as just using one of the two for both, no?
One situation where i can think of where we need anonymous state, is in an application where the user does not necessarily need to log in. But then again, we have anonymous authentication, right?