"VMI" <VM*@discussions.microsoft.comwrote in message
news:01**********************************@microsof t.com...
How can I add username/password authentication on my site? I have asp.net
2.0. If the user's not logged in, that page should be displayed when I
try
to go to any of the pages.
Store your authentication state in session variables. Each page can check
for proper authentication and redirect if unhappy. This also catches
session timeouts.
Also, how can I add a "login" timer so that the user is automatically
logged
out after X minutes of inactivity?
Set your session timeout appropriately in web.config.
As mentioned, better to ask these questions in the m.p.d.framework.aspnet
NG.
-- Alan