ibiubu Posted April 28, 2005 Posted April 28, 2005 Quick question: I have a login system that sets a global field to the users name. Then as they navigate to the various related databases, they can look back to the login file and grab the name of the user from the global. Odd thing, the global does not seem to be sticking. I would expect that a user will log on to the server, and as long as they have the FM files open, the global will reatain the name that was inserted. Odd thing is, that some users will log in, their name appears in the global. They go about working, but in a few hours all of a sudden the global for that user changes and shows someone elses name. Should not the global retain the name the particular user inputs, and remain there until they quite Filemaker? Larry
Ender Posted April 28, 2005 Posted April 28, 2005 Yes, globals retain their value for the duration of the session. You should check if a script is changing it in some process.
Ted S Posted April 28, 2005 Posted April 28, 2005 Could it be that the file (containing the global field) is getting closed by accident and later reopened via a relationship? I think that would essentially clear your value and repopulate with whatever was in there when it was last closed in single user mode.
ibiubu Posted April 29, 2005 Author Posted April 29, 2005 Thanks for the 2 tips. I will look to see if this is the case. LR
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now