You can't use 'global' variables in FoxPRo code to track users. Since many users access the same server and the same program they'd all share that same global variable and the results you'd get would not pertain to a specific user. That's a big no-no.
Globals CAN work if you have objects that can be shared. Good examples for this are things like a wwSql instance that can be shared (to avoid re-connecting to a SQL Server, a configuration class, global constants etc. etc.)
For any user storage that needs to persist across hits you can use either HTTP Cookies which is a low level operation you can manage yourself with Response.AddCookie() or Request.GetCookie() which stores single cookie values, or by using the wwSession class (Session to Server.oSession) which uses cookies but provides an easier storage mechanism for many values.
Ideally Session and/or Cookies should only be used to store very simple things like IDs that identify users, which you can use to load up more information from the database/your application. Don't store large pieces of data in there.
As Ian pointed out - take a look at the wwSession class in the documentation which should get you started and you cna then post here for more info.
+++ Rick ---
from Maui, Hawaii