WebSite X5Help Center

 
Esahc ..
Esahc ..
Moderator

Time To Live for the cookie which enables secure login  en

Author: Esahc ..
Visited 1800, Followers 1, Shared 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?

Posted on the
1 ANSWERS
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(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

Read more
Posted on the from  ‪ KolAsim ‪ ‪