session_id($_GET['killsid']);
session_start();
sesstion_destroy() || die "failed to kill";
Can you kill particular sessions?
-
01-06-2022 - |
Question
I have a shopping cart which uses sessions for the basket. I am also using a finance company as a payment option. The finance company processes the order then sends a HTTP POST response to my server. The order_id and session_id will be returned in that HTTP response. Also the session_id is specified before the user is directed to the finance payment system.
Is there a way I can destroy that session using the returned SESSION_ID
Many Thanks,
Peter
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow