Skip to content

Commit

Permalink
Final updates for release 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyts committed Jul 5, 2021
1 parent 1fcdaee commit 0dbc440
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
25 changes: 25 additions & 0 deletions SelfServiceSessionReset/App_Data/CtxSites.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,33 @@
Version 1.3
Written by Jeremy Saunders ([email protected]) 13th June 2020
Modified by Jeremy Saunders ([email protected]) 3rd July 2021
If data in any of the elements, such as the ClientSecret tag, uses specical characters, it will
generate an exception when the XML file is read as it's considered invalid. For example, the '&'
character is invalid and using it as is will generate an exception. Instead, we need to replace
it with its escaped equivalent. The following table lists the characters that need to be escaped.
Invalid character Replace with
< &lt;
> &gt;
" &quot;
' &apos;
& &amp;
-->
<Sites>
<Site>
<FriendlyName>APAC Apps</FriendlyName>
<Name>APACApps</Name>
<DeliveryControllers>apaccxc01.jhouseconsulting.com,apaccxc02.jhouseconsulting.com</DeliveryControllers>
<Port>80</Port>
<Default></Default>
<IncludeDeliveryGroups></IncludeDeliveryGroups>
<ExcludeDeliveryGroups></ExcludeDeliveryGroups>
<ProfileType>CloudAPI</ProfileType>
<CustomerID>yjo8kzgqrkis</CustomerID>
<ClientID>10134a3b-2550-5482-872b-397689e376c6</ClientID>
<ClientSecret>15dvxDybcnwFPcPJ2WmNFw++</ClientSecret>
</Site>
<Site>
<FriendlyName>Perth Apps</FriendlyName>
<Name>PERAPPS</Name>
Expand Down
12 changes: 8 additions & 4 deletions SelfServiceSessionReset/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<!--
Version 1.6
Version 1.7
Written by Jeremy Saunders ([email protected]) 13th June 2020
Modified by Jeremy Saunders ([email protected]) 4th July 2021
Modified by Jeremy Saunders ([email protected]) 5th July 2021
-->
<html>
<head>
Expand Down Expand Up @@ -1031,7 +1031,11 @@ <h2>Self-Service Session Reset Tool</h2>
}
if (EnableForcedMachineRestart) {
newinstructions = newinstructions + `
<p>${i = i + 1}) Force the restart of the machine if a standard restart does not work.</p>`
<p>${i = i + 1}) Force the restart of the machine if a standard restart does not work.</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;It is important to note that force restarting a machine may leave applications open on your screen that you cannot interact with. These will disappear<br/>
&nbsp;&nbsp;&nbsp;&nbsp;after 3 minutes by design. Citrix Workspace App (Receiver) may take a further 2 minutes to close out the attempt to auto reconnect to that session.<br/>
</p >`
}
if (EnableHideStuckSessions) {
newinstructions = newinstructions + `
Expand All @@ -1045,7 +1049,7 @@ <h2>Self-Service Session Reset Tool</h2>
&nbsp;&nbsp;&nbsp;&nbsp;may not release any checked out licenses or locked files you may still have open in that session. Once the session is hidden, it is unable to be unhidden.
</p>`
}
newinstructions = newinstructions + `<p>${i = i + 1}) Contact the Service Desk if the above actions do not work, or you are unsure. This tool may not address every scenario.</p>`
newinstructions = newinstructions + `<p>${i = i + 1}) Contact the Service Desk if the above actions do not work, or you are unsure how to proceed. This tool may not address every scenario.</p>`
if (EnableGetTerminateProcesses) {
newinstructions = newinstructions + `
<p>
Expand Down

0 comments on commit 0dbc440

Please sign in to comment.