Java interview sharing

cd card 2022-02-13 08:01:42 阅读数:58

java interview sharing

1、 How to realize single sign on cookie The cross-domain

        answer : Set up secondary domain name sharing . Add in the request header token

                 Secondary domain name sharing cookie It means such as    If you will The login cookie Domain set to

Then visit The same is used when cookie

                token It belongs to the application , So there's no cross domain problem , Add... In the request header of each access token, The corresponding user name and password can be recognized by single sign on server .

2、reids in key The scope of the ,value The scope of the

        answer :key and value The maximum range of is 512MB;

copyright:author[cd card],Please bring the original link to reprint, thank you.