0

Spring security logout

how to declare a logout method. while logout correct session. after cloud not clear session. how to write a logout method give me clear ans

13th Sep 2017, 5:26 AM
JRaj Fx
JRaj Fx - avatar
2 Respostas
+ 1
since reader don't know much about your code , I assume you have no error but "late" update after session clearance , so I suggest : refresh page to ensure "something happen".. .... session_destroy(); header('Location:: current_page_url'); .... or $window.location.reload();
13th Sep 2017, 6:13 AM
Mikhael Anthony
Mikhael Anthony - avatar
0
ok
18th Sep 2017, 4:40 AM
JRaj Fx
JRaj Fx - avatar