>Hi
>
>Can someone advise on the best way to handle users logging in using ASP's.
>
>I have a VFP COM installed on the server which I can call a method Login(
cUser, cPassword) to return true or false, but I also want each page to check the status using a logical property in the COM, and if the user is not logged in, to force them back to the main page to login.
>
>Any suggestions?
>
>Thanks
>Kev
Here is a method I have used several times:
When the user logs into the site, set a flag and persist it throughout your site. Create an include file that checks the value of this flag and loads the appropriate page based on the value.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.
"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).