METHOD AND DEVICE FOR PROCESSING CONTINUOUS REDIRECTION
First Claim
1. A method for processing continuous redirection, comprising:
- when a service request that redirection processing needs to be performed is received, determining the number of redirections corresponding to the service request, and judging whether the number of redirections reaches a pre-set threshold value;
if so, interrupting the redirection of the service request, and after the redirection of the service request is interrupted, resuming the redirection of the service request to a destination address; and
if not, redirecting the service request to the destination address.
4 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are a method and device for processing continuous redirection. The method comprises: when a service request that redirection processing needs to be performed is received, the number of redirections corresponding to the service request is determined and it is judged whether the number of redirections reaches a pre-set threshold value; if so, the redirection of the service request is interrupted, and after the redirection of the service request is interrupted, the service request is resumed redirecting to a destination address; and if not, the service request is redirected to the destination address. In the embodiments of the present application, a redirection processing device can avoid error processing (e.g. 404 error) induced by the case where the number of 302 redirections exceeds the number of times restricted by a browser and thus avoid service interruption and service failure, thereby improving the service experience and the user experience.
-
Citations
16 Claims
-
1. A method for processing continuous redirection, comprising:
-
when a service request that redirection processing needs to be performed is received, determining the number of redirections corresponding to the service request, and judging whether the number of redirections reaches a pre-set threshold value; if so, interrupting the redirection of the service request, and after the redirection of the service request is interrupted, resuming the redirection of the service request to a destination address; and if not, redirecting the service request to the destination address. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A redirection processing device, comprising:
-
a determination module, configured to, when a service request that redirection processing needs to be performed is received, determine the number of redirections corresponding to the service request; a judgment module, configured to judge whether the number of redirections reaches a pre-set threshold value; and a processing module, configured to, if the number of redirections reaches the pre-set threshold value, interrupt the redirection of the service request, and after the redirection of the service request is interrupted, resume redirecting the service request to a destination address; and if the number of redirections does not reach the pre-set threshold value, redirect the service request to the destination address. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification