forms authentication - Where is ASP.NET Storing User Data? -


i'm seeing strange behavior, , i'm sure there's simple explanation don't see.

using visual studio 2012 rc, mvc 4, created standard internet application (using forms authentication). used aspnet_regsql add membership tables database. updated web.config connection string point custom database:

<add name="newedcoconnectionstring" connectionstring="data source=localhost\sqlexpress2012;initial catalog=newedco;integrated security=true" providername="system.data.sqlclient" /> 

and, of course, updated provider nodes in web.config use connection string.

it works fine. can launch application in usual iis express, register user, login user, etc. kill application, re-launch, , can still login user. it's persisting data.

however, in sql server management studio when select * from of aspnet_* tables, don't contain data.

where persisting data?

it turned out @aristos alluded in comments on question above. was using different database, though i'm unsure how. difference between databases was:

localhost\sqlexpress2012 

vs.

daviddonahu436a\sqlexpress2012 

if networked environment, i'd assume named host wasn't local host. sandboxed vm. i've confirmed host in question name. somehow there 2 sql instances same name on same host bound different host name entries.

weird.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -