Hi, I'm coding an app using LAMP, at this moment several importants data are stored in "session vars - $_SESSION-" such as: current user, target data to use in search function, id of some items, etc; and I was wondering if the use of these kind of session vars could be dangerous to my app, specially in security reasons, like XSS, sniffers and some other hacking techniques, so, my question is:
the use of session vars is a bad coding practice?, are they safe?, the tunning of apache server helps to decarease the risk?
regards