Date:  09/13/2009 07:04:58 AM Msg ID:  004024
From:  Ali Koumaiha Thread:  004024
Subject:  Verifying user is logged on in FoxWeb
Hi guys!

My new client in the works, is going to (hopefully) sign the agreement and agree for me to develop a custom web app that ties in to his current VFP ERP system.

I will be installing the following:

vfp9
FoxWeb 4.3
IIS win2k3 server.

However, he currently have a Web Portal running for his clients that is built in in asp (the web pages are .asp extensions).

He does not want 2 separate user/pwd for his clients (one for the asp and one for the fwx side).

he wants the asp to be the main log in, as it hosts his portal and other existing links etc..

I need to make sure the fwx are authenticated as well, since it ties in to the accounting system.

What's the best way for me to make sure that if a user clicked on a link (or typed in the url), i want to make sure that the fwx checks somethings (a cookie? a session?) and see if it was authenticated?

Can i have the asp side drop a cookie upon login in with the userid? and if they logout remove the cookie?

what's the best way to accomplish this?