Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mere Mortals User Manger
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00845087
Message ID:
00846072
Views:
16
The user Id is cached in a session variable which is also used as the 'auth' ticket. So yes you can grab that. Furthermore on any secured pages you can get at this property through the mmBusinessWebPage object reference...

IOW, autentication occurs only once - after that the ticket is used to check authentication.

+++ Rick ---

>Well, I think there was a misunderstanding in my group of how to use mmUserManager in a Web application. In our DataAccess classes we have rules that create history in the Database when data has changed. Those rule require a way to get the id of the user currently logged into that session, so that the id can be included in the history records saved in the database. But it doesn't appear that the user's id is cached or stored in the session automatically by any of the Mere Mortals architecture.
>
>What I wanted to find out is if there is going to be some mechanism in the next version of Mere Mortals that will cache the user's id once logged in, so it can then be accessed throughout the system without necessarily having to re-authenticate the user. Or do I need to build this behavior myself?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform