1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-04 15:17:28 +02:00

Explain how to achieve interoperability with other session-based libs

This commit is contained in:
Marco
2017-07-02 21:13:23 +02:00
parent 829d5614ed
commit 6156b1c135

View File

@@ -526,6 +526,10 @@ if (isPasswordAllowed($password)) {
} }
``` ```
### Why are there problems when using other libraries that work with sessions?
You might try loading this library first, and creating the `Auth` instance first, *before* loading the other libraries. Apart from that, there's probably not much we can do here.
### Why are other sites not able to frame or embed my site? ### Why are other sites not able to frame or embed my site?
If you want to let others include your site in a `<frame>`, `<iframe>`, `<object>`, `<embed>` or `<applet>` element, you have to disable the default clickjacking prevention: If you want to let others include your site in a `<frame>`, `<iframe>`, `<object>`, `<embed>` or `<applet>` element, you have to disable the default clickjacking prevention: