Topic by Pramod Vasudeva Murthy
Content
Hi Folks,
I have a requirement to upload Contact and Incident at once. Hence, I am developing a custom script. Let me define how I am doing it:
- I have a login page where User enters username and password(Staff Account).
- Once submitted, I am capturing those credentials as $_POST variable and passing them to initConnectAPI() as initConnectAPI($username, $password).
- In the authenticated page, I have another form where an agent can upload CSV.
The problem here is after the agent has uploaded the form and clicked submit, $_POST is expiring and hence the initConnectAPI() also.
So, in summary, my question is:
- Is there a way to authenticate an Agent in a script by accepting username/password?
- Is there a way to make a part of page stable w/o refreshed?
TIA,
~VIP