BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-10-2009, 10:34 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to fetch cookie value

Please Login to Remove!

I want to fetch cookie values set from blackberry browser, in my java app.
is there any way?
Its urgent.
__________________
blog.vimviv.com
Offline  
Old 11-10-2009, 11:03 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You can fetch a cookie returned to your app when you make an HTTP request programmatically by retrieving the value of the "Set-Cookie" header.

You cannot retrieve a cookie that was returned to the browser application.

Why do you need this?
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.