<%
' MyPAYE
' Module: PrepareLogin.asp
'
' This software is the copyright of Mr T J Sheppard and may not be copied, duplicated or 
' modified other than as permitted in the licence agreement.
'
'       © 2012 - 2021  Mr T J Sheppard
'                      Lyndale House
'                      Church Street
'                      Bradwell
'                      Hope Valley
'                      S33 9HJ
'
'  Tel 0845 643 5191
'  Email Support@MyPAYE.co.uk
'
' MyPAYE is a Registered Trademark of MyPAYE Ltd
'-------------------------------------------------------------------
'
' Updated 05 October 2021

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
'   Description -    This module does the step from php to asp to sort out site name etc
'
' Amendment Log
'------------------------------------------------------------------------------------------
' Date     | Name            | Vers.  | Description
'------------------------------------------------------------------------------------------
' 01/06/14 | TJS             | 4.0.00 | Page added
' 27/10/14 | TJS             | 4.0.05 | Modified RemoveHTML to escape HTML characters
' 26/11/15 | TJS             | 5.0.00 | Modified to cater for mypaye.uk domain
' 09/04/16 | TJS             | 5.0.07 | Modified to cater for myonlinepayroll.com, my-paye.com, mypaye.co
'                                     | and webpayrollsystem.com domains
' 21/09/17 | TJS             | 5.1.09 | Modified to detect SiteMaintenance reg key and prevent startup appropriately
' 04/03/20 | TJS             | 5.7.04 | Modified redirection for site maintenance to be https
' 28/06/20 | TJS             | 5.8.01 | Corrected handling of webpayrollsystem domain
' 08/04/21 | TJS             | 5.9.09 | Modified to use ASPDOTNET/PayrollStartup.aspx pages
' 05/10/21 | TJS             | 5.9.13 | Modified to redirect to ASPDOTNET/PrepareLogin.aspx page
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 
response.redirect "https://" & request.servervariables("SERVER_NAME") & "/Secure/ASPDOTNET/PrepareLogin.aspx?" & request.querystring ' TJS 05/10/21
%>