excellent, thanks for the information!
On Sep 24, 3:37 pm, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
And if you want to access cookies on the server side , do this within your
RPC Servlet
HttpServletRequest request = getThreadLocalRequest();
request.getCookies();
--Sri
excellent, I do appreciate the help. Thanks very much!
On Sep 24, 10:31 am, Dominik Steiner
dominik.j.stei...@googlemail.com wrote:
Tom,
this code has to be on client side (GWT code).
HTH
Dominik
Yep, I found that API when I did a Google Search ...
So, I tried the code:
Yep, I found that API when I did a Google Search ...
So, I tried the code: String cookie = Cookie.getCookie
(myCookieName);
And I must have got some sort of error, because my code stopped, and
there were no other log statements.
So, I guess I was asking if this code has to be on the client
Client side (cookie gets stored in the users browser).
But looking at your whole question, it appears you are doing some sort of
user authentication? (ie: sign on).You should read this FAQ:
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
Describes using session
Tom,
this code has to be on client side (GWT code).
HTH
Dominik
Yep, I found that API when I did a Google Search ...
So, I tried the code: String cookie = Cookie.getCookie
(myCookieName);
And I must have got some sort of error, because my code stopped, and
there were no other log
And if you want to access cookies on the server side , do this within your
RPC Servlet
HttpServletRequest request = getThreadLocalRequest();
request.getCookies();
--Sri
2009/9/24 Dominik Steiner dominik.j.stei...@googlemail.com
Tom,
this code has to be on client side (GWT code).
HTH
Hi Tom,
not sure I understand your cookie question, but in GWT you can query
for cookies using the class
com.google.gwt.user.client.Cookie
and there have a look at the method
/**
* Gets the cookie associated with the given name.
*
* @param name the name of the cookie to be