LoggedIn doesn't seem to be

I

Iain

I've got an asp.net application which uses Forms based security with the
default provider (sqlexpress in the App_Data directory).

My login page just has the login control plopped on it with the LoggedIn
event handled. This checks the role and redirects to an aspx page depending
on the role.

However, when I check the roles of the currently logged in user it appears
to either be the role of the previously logged in user or possibly a null
user when logging in for the first time (no roles at all).

If I log in twice with the same username, then the second time it gets the
correct roles.

I'm probably missing something obvious
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top