Please help me with a weird problem I am having:
I am working on a script that would save users onto an addressbook for web access registration.
My LS agent is called in the WQS portion of the registration form. My problem is instead of using the $$return, after the agent runs, it redirects me to the login form.
The reg form is open to Anonymous users which has Depositor access. The WQS agent runs under my ID.
I tried a different WQS agent that does not save onto the addressbook and it works well. When I use the agent that saves on the addressbook, it redirects to the login page. Everytime that this same agent errors out, it redirects correctly based on the form I have set in the agent. Its only when the whole agent runs does it redirect me incorrectly to the login screen.
Thanks.
Subject: Weird anonymous redirect error
Do your address book allow anonymous to write to your address book?
Even though you signed the agent, the agent is running (AFAIK) with the Anonymous rights. Therefore if you block Anonymouse from writing to your address book, then you will get the login screen.
As a possible work around. Could you write the data to your DB which is open. Then have an agent that runs every “X” minutes to see if there are any new documents and write that to your address book. That agent will be signed by your ID and have permission to update your address book.
Subject: RE: Weird anonymous redirect error
That’s actually what’s really weird, the agent does everything it’s supposed to do, I see the entry being saved onto the addressbook, it’s only the redirect after the agent runs which is messed up. It goes into the login screen instead of the $$return. The $$return points to a anonymous accessible form.
I even tried redirecting by printing a link to a anonymous accessible form after the agent but it still goes to the login screen.