AnsweredAssumed Answered

IWP re-login script step slow

Question asked by james.gould on Feb 7, 2011
Latest reply on Feb 7, 2011 by james.gould


IWP re-login script step slow


FileMaker Server



Operating system version

Windows Server 2003

Description of the issue

Some customers said that they kept accidentally editing records when they meant to search and asked for an "edit mode". To achieve this I created a [READ-ONLY] account that all users are logged into by default. When they want to enter "edit mode" I have used the re-login script step that logs them back into their proper account, giving them the privileges to edit. This works fine when connecting with FileMaker itself, however it is behaving peculiarly when accessed using IWP.

Obviously I have used the re-login script step without dialog for IWP, the user inputs their details into a couple of text fields which are later cleared by the script.

The first time the user enters edit mode, it is very slow - taking almost a minute to complete the script. However when I run the script again it loads in a few seconds.

Steps to reproduce the problem

Use the re-login script step in IWP.

Expected result

The script should consistently take 5-10 seconds

Actual result

The first time you use the script in a new session the script takes about 1 minute to compete