Memorandum "I" is based on cookie, using interceptor to realize customer's visit from landing once every time

Original Statement: This article is my original work, not picked up elsewhere. Please contact the blogger for reprinting. Believe that you will encounter in all major websites, when you log in, there will be a similar option in the login box to exempt login next time/one month. This blog post is about how to achieve it. In this record, it is a ...

Posted on Fri, 28 Jun 2019 12:10:02 -0700 by dfwcomputer

Use of Rails 4 ActionCable

Fifteen years later, out of rails 5, there was a new feature, actioncable. It happened that the company had a need for push, but Rails version was Rails 4. I wanted to use actioncable. I found an official gem that could be used for a long time. It was used in company projects in sixteen years. Now I'm going to write this out, because it seems ...

Posted on Thu, 27 Jun 2019 18:14:07 -0700 by xander85

JSTL Common Tags

Introduction to JSTL Labels 1. What is JSTL? JSTL is apache's extension of EL expression (that is, JSTL depends on EL), and JSTL is a tag language! JSTL tag has been very convenient since it was used. It is the same as JSP action tag, but it is not a built-in tag of JSP. We need our own package and specify the tag library. If ...

Posted on Wed, 26 Jun 2019 16:46:52 -0700 by PatelNehal

Privilege control for Spring Session & Spring Security based microservices

Microservice Architecture Gateway: Routes user requests to a specified service and forwards the Session information contained in the front-end Cookie; User Services: Authentication, Authority, Redis Session Management Other services: Depend on user information in Redis for interface request validation Structure Design of User-Role-Permissio ...

Posted on Wed, 26 Jun 2019 09:18:01 -0700 by filn

Simulated landing

Simulated landing Prerequisites for simulated landing: 1. Understanding the normal landing process 2. Understanding the parameters used for normal landing 3. Straighten out the landing process and identify the parameters needed for landing. 4. Parameters needed for landing First fill in the account number and password, fill in the validation ...

Posted on Mon, 24 Jun 2019 14:00:01 -0700 by emorr1981

After Spring MVC integrates shiro, is session, request surname Wang or surname Jiang?

1. Questions We use spring mvc as MVC framework and shiro as permission control framework in our project. In the process of using this framework, the following doubts slowly arise. This article will slowly parse the shiro source code with doubts, so as to solve the little bug in our happiness. (1) What is the difference in request in spring con ...

Posted on Fri, 21 Jun 2019 13:04:04 -0700 by diegueins

MUI: The Final Version of Page Reference

Page transfer parameters are a common business requirement, which can be divided into two categories according to the implementation principle and application environment. There are several methods commonly used in common browsers: 1. Using URL to Pass Parameters When the page jumps, parameters are added by setting window.location.href ...

Posted on Tue, 18 Jun 2019 16:02:42 -0700 by fipp

Message Middleware Solution JMS

1. Introduction to JMS 1.1 Message Middleware Message middleware uses efficient and reliable messaging mechanism to exchange platform-independent data, and it is based on data communication. distributed system Integration. By providing messaging and message queuing models, it can extend inter-process communication in a distributed environme ...

Posted on Tue, 18 Jun 2019 15:20:13 -0700 by Gondwana

Basic configuration of Nginx load balancing

Nginx load balancing is achieved through upstream module. Upstream is installed by default when Nginx is compiled and installed. Upstream also has hot standby function and health check function by default. The basic architecture of load balancing is shown above. Test using three machines, centos 7 environment (compile and install a little ex ...

Posted on Mon, 17 Jun 2019 11:44:59 -0700 by DeadEvil

Pressure Testing Tool

Pressure testing tools: ab httpd_load webbench siege The ab command is Apache's own stress testing tool: Principle: ab is the abbreviation of apachebench command. Principle of ab: The AB command creates multiple concurrent access threads to simulate multiple visitors accessing a URL address at the same time. Its testing goal is URL-b ...

Posted on Sun, 16 Jun 2019 13:40:54 -0700 by J4rod