How can I set the expiration of a Server Side Cookie to the life of the browser session created by a BSP application or to any time that represent the life of the application?. I need that a Server Side Cookie exists as long as the BSP application.
Just put your session id into the matching field of the cookie. Then a new session will not find the old cookie, and will slowly crumble away in the jar.
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Add a comment