Couple of different ways. Cookies, and Session's seem to be most popular with logins. I set sessions on my restricted pages, where if the account type doesn't match, they're redirected to the login page. I have the following code in an include file on all the pages where security and logins are an issue: <BR><BR><%<BR> Response.Buffer = True<BR> If Session.Contents("Account")<> "AccountType" Then<BR> Response.Redirect "../Login.htm"<BR> End If<BR>%><BR>
But the problem is that I have stored all the user names in a table in the database and everybody has been provided with a login name and depending on the login name how can I let them in to different pages. Is there any solution other than cookies and session object.