Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logging on
Message
 
To
15/05/2002 11:17:45
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00656940
Message ID:
00657000
Views:
26
>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).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform