authentication - How to check user authanticaon on an asp page -



authentication - How to check user authanticaon on an asp page -

i have 3 page login.asp , check.asp , admin.asp . want block user access page typing url www.xxxxxxx.xxx/admin.asp .how ı can ? there way check redirected page.? ı want check.asp page can redirect admin.asp page

i know session solution ı want utilize 1

essentially need set kind of authentication token identifies user has been authenticated. done either cookie or session value. then, on page requires authentication, check existence of token.

if token (which can simple boolean isauthenticated value or integer userid value, or complex finish user object need know person, roles, etc.) valid, render page. if not valid, redirect or display message of kind.

authentication asp-classic login-control

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -