User Authentication in ASP.NET when authentication is checked by javascript functions
<p><em>Please suggest or change some suitlable title for this question as i am not able to find one</em> </p>

<p>I am using Facebook to allow the users to authenticate to my site.</p>

<p>I use Facebook Login Button and somehow i find out the user is authenticated or not.</p>

<p>I am developing my website in ASP.NET 4.0</p>

<p>I check whether the user is authenticate through Javascript.</p>

<p>The problem is how should i tell my server that this user is authenticated and assign some ASP.NET roles. I cannot use Ajax becuase of securoty reasons and might be a attack of Impersonation. This site may have transactions in the future so it need to be less security vunerable.</p>

<p>RIght now what i did is create a session using javascript and redirect to some other page and then assign roles but i am not statisfied with this method</p>

<p>Any help is appreciated. </p>
