Jump to content

Online registration database.

This topic is 7692 days old. Please don't post here. Open a new topic instead.

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?

Link to comment
Share on other sites

  • 5 weeks later...

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.


Link to comment
Share on other sites

This topic is 7692 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Arin
      Does anyone know how to get the FMWSC to launch on startup with Mac OSXS so I don't ahve to login to launch the script/app?

    • By snbowers
      Forgive me if this question's been asked.
      I administer a configuration that makes use of FileMaker Pro Server on one machine and FileMaker Pro Unlimited on another. The databases are all on the Server machine. All web interface files are on the Unlimited machine. This is on all on NT. I set up access for users to their web stuff so that they have control over changing that interface. The complaint I often get is that the "default" html file (usually default.htm) is left open and that they cannot replace the file with a new file. All other HTML/CDML files can be replaced. When you try to replace it, you get the message that another process has the file open. Shutting down related databases, etc. makes no change. I actually have to shut down FileMaker Pro Unlimited to cause the file to be released so that it can be replaced. Has anybody else had this problem and is there a way around this??
      - - - - - - - - - - - - -
      Steve Bowers
      Sr. Systems Analyst
      ITS Academic Technologies
      The University of Iowa
      Iowa City, IA 52242
    • By pengil2k
      I've looked several places for this info and have been frustrated to no end. Can someone please tell me how to start and stop a database remotely (via the web) when using FMPro 5 Unlimited and the Web Companion!!!
    • By Pingry
      Can you run Server and Unlimited on one physical machine?
      We need to serve a number of databases to internal users plus some of them to the web. We currently have a variety of FM Pro 3.x & 4.x clients connecting to a FM Pro 4 machine (_not_ 4 Server) that has the databases shared out and the Web Companion enabled. But we need the multi-threading of FM Server and also want to upgrade to 5.
      Do we now need two physical servers, or can we stick with just one?
      The server in question is a B&W G3 with 256 MB of RAM, ample disk space, etc. so we're not as worried about the machine's ability to handle both but of both software products to be able to co-exist.
    • 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...
  • Who Viewed the Topic

    4 members have viewed this topic:
    siroos12  Sky Willmott  Dave Carmean  totoleheros 
  • Create New...

Important Information

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