Just tested & it has something to do with the name of the cookie I'm using. Can someone please explain this to me? Thanks.
On Mon, Mar 23, 2009 at 5:31 PM, Vitali Lovich <[email protected]> wrote: > Hi, I'm trying to set the session ID in the server response & have the user > pick it up. > > I've verified with firebug: the cookie does get sent back: > > Response Headers > Content-Type > > application/json; charset=utf-8 > > Content-Length > > 146 > > Expires > > Thu, 01 Jan 1970 00:00:00 GMT > > Set-Cookie > > sid=M84W2QQ1Z8E4YCET;Path=/;Domain=localhost;Expires=Mon, 04-May-09 13:26:42 > GMT > > Content-Encoding > > gzip > > content-disposition > > attachment > > Server > > Jetty(6.1.x) > > Request Headers > Host > > localhost:9000 > > User-Agent > > Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009030423 > Ubuntu/8.10 (intrepid) Firefox > /3.0.7 > > Accept > > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > > Accept-Language > > en-us,en;q=0.5 > > Accept-Encoding > > gzip,deflate > > Accept-Charset > > ISO-8859-1,utf-8;q=0.7,*;q=0.7 > > Keep-Alive > > 300 > > Connection > > keep-alive > > X-GWT-Permutation > > HostedMode > > Content-Type > > text/x-gwt-rpc; charset=utf-8 > > Referer > > http://localhost:9000/sacredheart/hosted.html?sacredheart > > Content-Length > > 265 > > Cookie > > lastUser=wforte > > Pragma > > no-cache > > Cache-Control > > no-cache > > > However, when I do a Cookies.get(sid) I don't see it. I've also tried > using JSNI (alert(document.cookie)) to print all the cookies, & I don't see > `sid'. > > What am I doing wrong? > > Thanks > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
