Severity: 8192
Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 113
Severity: 8192
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 280
Severity: 8192
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 145
Severity: 8192
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 223
Severity: 8192
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 303
Severity: 8192
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 344
Severity: 8192
Message: setcookie(): Passing null to parameter #7 ($httponly) of type bool is deprecated
Filename: core/Input.php
Line Number: 410
Yazı dizisinin sonuncusunda Session Cookies (Session), Persistent Cookies (Çerezler), Local Storage ve Session Storage arasındaki farkları anlatacağım. Hatta sadece farkları değil aralarındaki benzer özellikleri de anlatıp hepsini karşılaştıracağız. Bu yüzden bütün konuları kapsayan bir özet gibi değerlendirebiliriz.
Session Cookies (Session), Persistent Cookies (Çerezler), Local Storage ve Session Storage Farkları ve Benzerlikleri (Karşılaştırma Tablosu)
|
Session Cookies (Session) |
Persistent Cookies (Çerezler) |
Local Storage |
Session Storage |
1) Çerezler (veriler) ne zaman silinir? |
Tarayıcı kapandığında |
Kullanıcı sildiğinde |
Kullanıcı sildiğinde |
Tarayıcı kapandığında |
2) Çerezlerin (verilerin) geçerlilik tarihi var mıdır? |
Yoktur |
Vardır |
Yoktur |
Yoktur |
3) Çerezler (veriler) nerede depolanır? |
Server |
Kullanıcı bilgisayarı |
Kullanıcı bilgisayarı |
Kullanıcı bilgisayarı |
4) Çerezlerin (verilerin) depolama boyutu? |
Sınırsız (tarayıcı sınırlayabilir) |
Maksimum 4KB |
Sınırsız (tarayıcı sınırlayabilir) |
Sınırsız (tarayıcı sınırlayabilir) |
5) Çerezler (veriler) HTTP request ile iletilir mi? |
Hayır (sadece session ID) |
Evet (siteye her girildiğinde) |
Hayır |
Hayır |
6) Çerezleri (verileri) depolama tipi nasıldır? |
Key-value |
Key-value |
Key-value |
Key-value |
YORUMLAR