on 07-03-2007 12:18 PM
Hi experts,
my Abap-WD-Application needs the content of a browser cookie, which was created by a former apllication.In a BSP-Application i would do following coding in Event-Handler "OnInitialization"
[...
data: myCookies type TIHTTPCKI.
CALL METHOD request->GET_COOKIES
CHANGING
COOKIES = myCookies
...]
Any ideaa, how to handle this in a Abap-WD-Application?
Thanks in advance.
Regards
Herrmann
in BSP
[...
data: myCookies type TIHTTPCKI.
CALL METHOD request->GET_COOKIES
CHANGING
COOKIES = myCookies
...]
You can do this
in WD4A
[...
data: myCookies type TIHTTPCKI.
CALL METHOD wdr_task=>request->GET_COOKIES
CHANGING
COOKIES = myCookies
...]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Web Dynpro there is a clear separation between the application and the client.
So the instance of the object REQUEST is not available to the poor programmer.
I think that it's not possible to read the client side cookies.
Have a look to another interesting thread
where I suggested an a "dirty" alternative (SAP doesn't like it).
Sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use below link,
<a href="/people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
Regards,
Chandra
(Award points if Helpful)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.