Hi Expert,
A web app is created using developer addition and deployed in IIS. It is working fine. I'd like to locate logic in my application start-up to call a web service and authenticate a user on that service. If the user is OK then finish app start up. If not OK then show message, stop loading and clean-up. I have followed the below thread Web App Start-up with Validation and Bailout if Need Be. That link doesn't tell where to place the control on index.html. Would appreciate your help.
Thanks
Kumar
Kumar,
Sorry. Not sure how that happened. Let me try again.
<script src="env.js"></script> <script type="text/javascript" src="simpleLoader.js"></script> <script type="text/javascript" src="preProcess.js"></script><!-- lcs - This file runs one or more processes before the application loads. --> <script type="text/javascript" src="init.js"></script>
Larry
Larry,
In your reply, the attachment/text which you wanted to put is missed. Would appreciate if you could add again.
kumar
I placed it near the end of index.html like this:
Hope this helps.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.