Jump to content
Sign in to follow this  
Ocean West

Online registration database.

Recommended Posts

[Mona, wrote:]

-A person will register for a course

-Fmp will then via a script check to see if that person has already

registered for that course

-If not, fmp via a script will then check to see if there is room in the

course or if the person needs to be placed on a wait list. This could be

a rather lengthy task (a few seconds) for larger classes.

Here is my problem - and actually, I don't know if it really is a

problem, I'm actually wanting clarification on this "theoretical"

problem AND if it really could be a problem, I need a solution.

Because this is on the web, multiple people could be hitting the site at

the same time, thus the script could be accessed by multiple people at

the same time. If this is the case, the script might be using erroneous

data or turn into an infinite loop if restarted by mutliple users.

So here are my questions:

1 - is a script hit by multiple users at the same time going to mess up

or does fmp somehow keep the script unique per user? (I am using globals

as fields - if this were opened as a multiple user file, the globals are

unique per machine.)

2 - If the answer to the above is "yes, the script is going to mess up",

how do I prevent this from happening?

Share this post

Link to post
Share on other sites

I will worry about the script and global field. I think the global will be assigned to WebCompanion, thus to any user. Better is to use unique cookie.

Because of that I am avoiding scripts by calculating fields and relations. I have several applications on web and I am using only 2 scripts:

1. security evaluation to make sure no one messes with old posted order. That was because I did not used cookies.

2. In discussion forum I am shifting the value of last visit.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By puterco
      I have published my database using CDML pages and I want each web address field to act as a link witch goes directly to the address contained in the field. Example of the HTML code on the search results page:
      [FMP-FIELD: email] *how can I link this field to act as "mailto://(value in the field)"

      [FMP-FIELD:web-address] *how can I link this to act as "http://(value in the field)"
      Any help will be highly appreciated the dead line for these pages were yesterday and I need to get these features online as soon as possible. Thanks...
    • By kwatson
      Does anyone know how to allow users to input graphics into a database posted on the web? Home Page tells me container fields won't work.
    • By Randy Abulon
      Has anyone tried the connector on Windows 2000 and had some success with it? The company I work for just got FMPro5 Unlimited, but we mostly a Win2K shop; including the intranet server... How do I make it work?
    • By OSXS
      Dear all:
      I am facing the following problem: I am setting up a www-interface using CDML for the first time. I get the behavior I want, and everything works fine.
      But there's one big question: In the CDML reference, I cannot find any tags that allow authentication of users using the FM-database built-in access privileges.
      Any ideas?
    • By pem
      Does portals work i www mode?
      I have a field in a portal that works in filemaker but not in www mode. In filemaker it
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.