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,
I placed it near the end of index.html like this:
<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>
Hope this helps.
Larry
Larry,
In your reply, the attachment/text which you wanted to put is missed. Would appreciate if you could add again.
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