https://www.bilibili.com/video/BV12J411M7Sj 会话 用户打开一个浏览器到关闭浏览器,这个过程可以称之为会话。 有状态会话 客户端再次访问服务端时,服务端知道客户端曾经来过,称之为有状态会话。 保存会话的两种技术 cookie 客户端技术(响应,请求) ses ...
分类:
其他好文 时间:
2021-03-18 14:31:42
阅读次数:
0
上一篇关于APP类的构造函数 最后还有三句话 1 static::setInstance($this); 2 $this->instance('app', $this); 3 $this->instance('think\Container', $this); 1 /** 2 * 绑定一个类实例到容 ...
分类:
移动开发 时间:
2021-03-18 14:20:38
阅读次数:
0
call和apply的应用场景: 判断数据类型: Object.prototype.toString用来判断类型再合适不过,借用它我们几乎可以判断所有类型的数据: function isType(data, type) { const typeObj = { '[object String]': ' ...
分类:
移动开发 时间:
2021-03-17 14:28:08
阅读次数:
0
学习完《Java泛型详解》一节中我们了解到,从Java 1.5 版本开始,Java 的 Class 类增加了泛型功能,从而允许使用泛型来限制 Class 类。例如,String.class 的类型实际上是 Class<String>。如果 Class 对应的类暂时未知,则使用 Class<?>。通过 ...
分类:
编程语言 时间:
2021-03-16 14:10:18
阅读次数:
0
Error: Error launching source instance: Unsupported: The requested configuration is currently not supported. Please check the documentation for suppor ...
分类:
其他好文 时间:
2021-03-15 10:42:10
阅读次数:
0
本文首发于“合天网安实验室” 作者: S1mple 你是否正在收集各类网安网安知识学习,合天网安实验室为你总结了1300+网安技能任你学,点击获取免费靶场>> forward laravel的版本已经到了8;这里分析一个laravel8的反序列化漏洞,但是让我感到意外的是,这个漏洞竟然在低版本的la ...
分类:
其他好文 时间:
2021-03-10 13:39:55
阅读次数:
0
参考:https://www.cnblogs.com/ngy0217/p/9006716.html 饿汉式(线程安全,调用效率高,但不能延时加载): public class ImageLoader{ private static ImageLoader instance = new ImageLo ...
分类:
编程语言 时间:
2021-03-06 14:58:12
阅读次数:
0
class CCP(object): def __new__(cls, *args, **kwargs): if not hasattr(cls, '_instance'): cls._instance = super(CCP, cls).__new__(cls, *args, **kwargs) ...
分类:
编程语言 时间:
2021-03-05 13:19:16
阅读次数:
0
Should criminals be punished with lengthy jail terms or re-educated and rehabilitated, using community service programs for instance, before being rei ...
分类:
其他好文 时间:
2021-03-03 12:18:12
阅读次数:
0
1. 基本概念 1.1前言 web 开发: web,网页的意思 静态 web html,css 提供给所有人看的数据始终不会发生变化 动态 web 几乎所有网站 提供给所有人看的数据始终会发生变化,每个人看到的信息各不相同 技术栈:Servlet/Jsp 在 java 中,动态 web 资源开发的技 ...
分类:
编程语言 时间:
2021-03-02 11:58:22
阅读次数:
0