on 08-25-2009 2:57 AM
HI,
My question is how can I uses Web Dynpro get/set cookie?
Anybody can help me?
hi
if you want use cookies , best thing is develop Par Application and use the Cookies .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks,murali !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use this code,
HttpServletRequest req = TaskBinder.getCurrentTask().getWebContextAdapter().getHttpServletRequest();
if (req != null)
{
Cookies[] cc= req.getCookies();
}
For this you need to add servlet.jar file in classpath.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Their no way to access the cookies from Webdynpro, it will be handled by the framework.
Thanks
Avik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think one can access methods to set or get cookies using web dynpro since the request object isnt accesable? Why would you need to access cookies? whats the scenario?
Thanks,
GLM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.