IWP re-login script step slow
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.
The script should consistently take 5-10 seconds
The first time you use the script in a new session the script takes about 1 minute to compete