Computing device and related methods providing virtual session launching from previously cached assets
A computing device may include a memory and a processor configured to cooperate with the memory to run a browser configured to perform a sequence to obtain an asset and display a user interface for launching a virtual session using the asset. The processor may further run code configured to determine a failure of the browser to complete the sequence, and cause the browser to display the user interface for launching the virtual session using a previously cached version of the asset responsive to the failure of the browser to complete the sequence.
1. A computing device comprising:
a memory and a processor configured to cooperate with the memory to run a browser configured to perform a sequence to obtain an asset comprising a connection lease, and display a user interface for launching a virtual session using the asset, and code configured to:
determine a failure of the browser to complete the sequence; and
cause the browser to display the user interface for launching the virtual session using a previously cached version of the asset responsive to the failure of the browser to complete the sequence;
wherein the code is configured to cause the browser to display an input element, and detect the failure of the browser to complete the sequence based upon receipt of input via the input element.
2. The computing device of claim 1 wherein the code is configured to determine initiation of the sequence based upon an address loaded by the browser; and wherein the code determines the failure of the browser to complete the sequence responsive to determining initiation of the sequence.
3. The computing device of claim 1 wherein the browser is configured to perform the sequence at a first Web page, and display a second Web page in the user interface for launching the virtual session; and wherein the code is configured to redirect the browser to the second Web page responsive to determining the failure of the browser to complete the sequence.
4. The computing device of claim 1 wherein the input element comprises a cancel button.
5. The computing device of claim 1 wherein the code is configured to detect the failure of the browser to complete the sequence based upon a timeout period.
6. The computing device of claim 1 wherein the sequence being one in which to authenticate a user to enable the user to access a resource hosted on another computing device.
7. The computing device of claim 1 wherein the virtual session comprises one or both of an application session and a microapp session.
8. A method comprising:
running a browser at a computing device configured to perform a sequence to obtain an asset comprising a connection lease, and display a user interface for launching a virtual session using the asset; and
running code at the computing device configured to:
determine a failure of the browser to complete the sequence; and
cause the browser to display the user interface for launching the virtual session using a previously cached version of the asset responsive to the failure of the browser to complete the sequence;
wherein the code is configured to cause the browser to display an input element, and detect the failure of the browser to complete the sequence based upon receipt of input via the input element.
9. The method of claim 8 wherein the code is configured to determine initiation of the sequence based upon an address loaded by the browser; and wherein the code determines the failure of the browser to complete the sequence responsive to determining initiation of the sequence.
10. The method of claim 8 wherein the browser is configured to perform the sequence at a first Web page, and display a second Web page in the user interface for launching the virtual session; and wherein the code is configured to redirect the browser to the second Web page responsive to determining the failure of the browser to complete the sequence.
11. The method of claim 8 wherein the input element comprises a cancel button.
12. A non-transitory computer-readable medium having computer-executable instructions for causing a computing device to perform steps comprising:
running a browser configured to perform a sequence to obtain an asset comprising a connection lease, and display a user interface for launching a virtual session using the asset; and
running code configured to:
determine a failure of the browser to complete the sequence; and
cause the browser to display the user interface for launching the virtual session using a previously cached version of the asset responsive to the failure of the browser to complete the sequence;
wherein the code is configured to cause the browser to display an input element, and detect the failure of the browser to complete the sequence based upon receipt of input via the input element.
13. The non-transitory computer-readable medium of claim 12 wherein the code is configured to determine initiation of the sequence based upon an address loaded by the browser; and wherein the code determines the failure of the browser to complete the sequence responsive to determining initiation of the sequence.
14. The non-transitory computer-readable medium of claim 12 wherein the browser is configured to perform the sequence at a first Web page, and display a second Web page in the user interface for launching the virtual session; and wherein the code is configured to redirect the browser to the second Web page responsive to determining the failure of the browser to complete the sequence.
15. The non-transitory computer-readable medium of claim 12 wherein the input element comprises a cancel button.