kentico_jurajo
-
6/23/2010 4:17:19 AM
RE:creating one time access to a microsite
Hi,
There are several options:
1) There is a Created date column for the user - so you can check this value and e.g. if it is older than one day, hour or whatever, you will disable this user (UserEnabled set to false) or delete this account.
2) You can handle the click event on the sign out button - if the user clicks on it, you will disable that user
3) In global.asax.cs file there is Session_End event, so here you can check which session for which user ended, and disable the user.
Best regards, Juraj Ondrus
|