on 06-25-2010 7:57 PM
Hi,
Is it possible to read/write cookies on an end-user's machine through a Webdynpro ABAP Application?
If yes, how? OR are there any other options?
Regards,
Saleem
WDA doesn't support cookies, but it does support RIA via islands - and thus Flex (and Silverlight)
Flex does (sort of) support cookies. [Actionscript Cookie Util|http://myflex.wordpress.com/2008/11/12/actionscript-cookie-util/]
so you could write an island to read the cookies expose them to WDA app.
Of course you can do something similar with [Silverlight too|http://blogs.silverlight.net/blogs/msnow/archive/2008/07/15/tip-of-the-day-18-how-to-set-browser-cookies.aspx] but that would mean having a system that could support Silverlight islands.
But why would you want to use cookies anyway?
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have choices on this. Either go for a server side cookie , or go for a client side cookie. You can create a bsp page and write the cookie data on JS onLoad property (document.cookie = "username=Thomas").
Call the bsp page using suspend and resume plug so that after setting the cookie, it could come back to WD with ease
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I know, client cookies are not supported by WDA.
What do you want to achieve?
Best regards
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.