> 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!!!!
It looks like this is related to the appengine developement server. When deployed, the filter sets 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 for the first access. Shawn -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
