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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -