c# - Shared login in two MVC Projects? Why? -


imagine when create new mvc4 project , start registering account using simplemembership , logged using remember me checkbox.

now, when create mvc 4 project, application tries loggin using previous account, although throws error because not exist. mean, if login in web page, 1 uses same account.

how can avoid this, guess has forgerytokens or that

customize name of cookie it's unique per application.

<authentication mode="forms">     <!-- **defaults** timeout="30" slidingexpiration="true" -->     <forms name=".myapplication" defaulturl="~/" loginurl="~/login"  /> </authentication> 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -