I'm learning web development and I'm a bit confused on the best way to hold information across pages.
Firstly, what is the point of a non-persistent cookie (One that has no expiry date and therefore does not get written to disk)? What I mean is, why not use the session or context?
Why do we use url parameters when this can also be done in the session/context?
Lastly, are the session and context 2 different things? If they are what are the benefits/differences of using one over the other to store info, such as logged in user name / id, etc?
Much appreciated.
Firstly, what is the point of a non-persistent cookie (One that has no expiry date and therefore does not get written to disk)? What I mean is, why not use the session or context?
Why do we use url parameters when this can also be done in the session/context?
Lastly, are the session and context 2 different things? If they are what are the benefits/differences of using one over the other to store info, such as logged in user name / id, etc?
Much appreciated.