> Why can't a filter start a session? > this.getThreadLocalRequest().getSession(); will find a session created > by a filter via request.getSession(true); > but request.getSession(true); doesn't seem so send a cookie to the client. > > I really can't understand this. Help please!!!! > > How can I start a session in a filter and not in a rpc method?
It looks like this is related to the appengine developement server. When deployed, the filter set cookies as expected. It's not that the cookie was at a different uri or something, there was just no cookie (JSESSION or anything I tried to set) being sent on the first access. I configured appengine-web.xml file to treat it as a non-static resource so yes the filter is called but under the dev server no cookie is sent. Shawn -- 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.
