WebSite X5Help Center

 
Esahc ..
Esahc ..
Moderator

Time To Live for the cookie which enables secure login  en

Auteur : Esahc ..
Visité 1926, Followers 1, Partagé 0  

I have been asked to modify the Time To Live for the cookie which enables secure login (they want it reduced to almost zero so the secure pages on their website cannot be easily accessed by an earlier login)

Is this possible?

Posté le
1 RéPONSES
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois RU

(Translated by Google - Sorry, I do not speak English)
This script (Interrupted/deleted) works on my session cookie, which is seen from line n. 5 to line n.13 (Ctrl + U).
>> Regular session cookies   (the banner is only visible once).
>> Cookie Interrupted/deleted (the refresh banner is reviewed).
If it works, it may delete all cookies on the page. (Follow code below).
If the message does not help, ignore it, thank you.
Greetings

(IT)
Questo script (Interotto/cancellato) funziona sul mio cookye di sessione, che si vede dal rigo n. 5 al rigo n.13 (Ctrl+U).
>> Regolare, cookie di sessione (il banner si vede solo una volta).
>> Cookie Interrotto/cancellato ( il banner al refresh si rivede).
Se funzionasse potrebbe cancellare tutti i cookie della pagina. (segue codice).
Se il messaggio non risultasse di aiuto, ignorarlo, grazie.
Saluti

EXPERT PANEL | Custom code | Section HEAD (/ HEAD)
<script> var cookie = document.cookie.split(';'); for (var i = 0; i < cookie.length; i++) { var lista = cookie[i], valore = lista.split("="), nome = valore[0]; document.cookie = nome + '=; -1'; } </script>

.

ciao

Lire plus
Posté le de  ‪ KolAsim ‪ ‪