Re: Cookies and RPC

2009-09-25 Thread Thomas Holmes
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

Re: Cookies and RPC

2009-09-25 Thread Thomas Holmes
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:      

Re: Cookies and RPC

2009-09-24 Thread Thomas Holmes
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

Re: Cookies and RPC

2009-09-24 Thread PJ Gray
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

Re: Cookies and RPC

2009-09-24 Thread Dominik Steiner
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

Re: Cookies and RPC

2009-09-24 Thread Sripathi Krishnan
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

Re: Cookies and RPC

2009-09-23 Thread Dominik Steiner
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