I want to set a new save folder for different types of sessions (user, general etc...). How can I do this safetly? Thanks.
I need to save different types of sessions in different locations so I can count them and access them easily. I need to know a 'safe' location I can make the folders so people can't access the sessions. Also will the sessions still delete themselves when the user leaves since I am not using the tmp folder or do I have to set that or create a function for that? Thank you.
Could you just give me a normal php session solution? I need to save the databases for other functions.
Hi Imozeb, first off - Why are you looking to change the path? In most situations it is not needed. Granted, there are some and hence why its possible. Without knowing what you are trying to do Im not sure how to help. AIUI, you want to save different session locations in different places... but for what reason? If its security, this is more security through obsurity, and can be more effort than its worth. If its for data mining its what logs are for..... you can my drift
I need to store sessions in seperate folders so that I can quickly count them. It needs to be this way so the sessions I use for user data and the sessions I use for some of my APIs are in different folders then they are easier to count. Also I am using a shared server so I need a new place for security.