Forum Discussion
Aug 04, 2010
How to set/detect/read cookies on the client machine
Hello All,
I am trying to set a cookie and detect it on the client machine, but am having issues detecting the cookie. My goal is to send credentials over SSL and go back to HTTP after it's been va...
hoolio
Cirrostratus
Aug 04, 2010Hi Trx,
If you want to send a cookie to the client you'd set it in HTTP_RESPONSE. If you want to insert a cookie in the request sent to the pool, you'd do it in HTTP_REQUEST. To determine if the client included a cookie in the request, you'd check in HTTP_REQUEST. JSESSIONID cookies are set by the web app. They could be set as session cookies (no expiration time) or as persistent cookies (with an explicit expiry date). Session cookies are stored in memory while persistent cookies are stored on disk.
You can use a browser plugin like HttpFox for Firefox or Fiddler for IE to view the cookies being received and sent on the client.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
