0

The requirement requires a standard web site with a login form. Upon login the site redirects to a page where it prompts the user to "please insert your device". A separate application (a native app) will push the device id to some web service on the same server as the web site. The pushed device ID will be received by the web service and somehow it should be able to notify the web site so that it can turn redirect the "please insert your device" page to the main landing page. Is this possible and how? Thanks!

1
  • 2
    Sure - maybe investigate SingalR as a way of notifying the client page to redirect. Commented Oct 18, 2013 at 8:20

1 Answer 1

1

I think you have different options: - one is, like James S mentioned, to use something like - you can also do it manually, by keeping in mind that there is no permanent connection between the web client and your web server, your could show the message to insert the device and in background you ask via ajax and javascript/jQuery the webservice or the web application if the device a was inserted - another way could be to show the message as a dialog, with a button which the user has to click when he inserted the device. When the user clicked OK I would check that the device was inserted and display the main page or an error message.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.