ckrudelux Posted August 19, 2014 Share Posted August 19, 2014 How would I unset a cookie with an unknown path? What I'm trying to do is to automate the task of removing the session if nothing is stored in the session variable. But I'm trying to implement so that I could use different sessions in different folders which makes the path more or less unknown. I know this might not be a good way of doing it but still I'm curious to know. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 19, 2014 Share Posted August 19, 2014 If you're changing the session cookie parameters then you're using session_set_cookie_params, you can also use session_get_cookie_params to get the current ones. But your script should also be able to figure out its own path. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now