RE: [google-appengine] Local dev sandbox doesn't appear to serialize sessions to the datastore the same as the production
I don't personally touch the session, but the Spring Security Framework seems to put my implementation of the UserDetailsService object on the session (used to populate user details for authentication information to the security framework). Do you suggest that I extend the Spring Security Framework to move this functionality? If so, has anyone done this before that I might follow that you know of? David From: google-appengine@googlegroups.com [mailto:google-appeng...@googlegroups.com] On Behalf Of Ikai Lan (Google) Sent: Wednesday, October 20, 2010 1:15 AM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Local dev sandbox doesn't appear to serialize sessions to the datastore the same as the production What are you serializing? In general, it's a best practice to store as little into the session as possible and retrieve state data from memcache or the datastore. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com <http://googleappengine.blogspot.com/> Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Oct 18, 2010 at 6:18 AM, David Parks wrote: My first real issue in GAE was that the session is serialized and stored to the datastore on the GAE servers. This is all well and good, but it doesn't happen on the local dev instance as far as I can see. Thus I ran into a situation where I got runtime exceptions (due to a session class not implementing serializable, easy fix) that occurred only in the production environment and not in dev. It seems like a reasonable enhancement request to have the local dev server emulate the same activity upon occasion such that errors like this can be dealt with locally. The two environments should be as close to identical as possible. I always like to post such things before submitting them formally in case there's any missed reasoning on my part. Comments? Also, where does one go about posting such enhancement requests (I'm a new GAE user). Dave -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com <mailto:google-appengine%2bunsubscr...@googlegroups.com> . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Local dev sandbox doesn't appear to serialize sessions to the datastore the same as the production
What are you serializing? In general, it's a best practice to store as little into the session as possible and retrieve state data from memcache or the datastore. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Oct 18, 2010 at 6:18 AM, David Parks wrote: > My first real issue in GAE was that the session is serialized and > stored to the datastore on the GAE servers. This is all well and good, > but it doesn't happen on the local dev instance as far as I can see. > > Thus I ran into a situation where I got runtime exceptions (due to a > session class not implementing serializable, easy fix) that occurred > only in the production environment and not in dev. > > It seems like a reasonable enhancement request to have the local dev > server emulate the same activity upon occasion such that errors like > this can be dealt with locally. The two environments should be as > close to identical as possible. > > I always like to post such things before submitting them formally in > case there's any missed reasoning on my part. Comments? > > Also, where does one go about posting such enhancement requests (I'm a > new GAE user). > > Dave > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Local dev sandbox doesn't appear to serialize sessions to the datastore the same as the production
My first real issue in GAE was that the session is serialized and stored to the datastore on the GAE servers. This is all well and good, but it doesn't happen on the local dev instance as far as I can see. Thus I ran into a situation where I got runtime exceptions (due to a session class not implementing serializable, easy fix) that occurred only in the production environment and not in dev. It seems like a reasonable enhancement request to have the local dev server emulate the same activity upon occasion such that errors like this can be dealt with locally. The two environments should be as close to identical as possible. I always like to post such things before submitting them formally in case there's any missed reasoning on my part. Comments? Also, where does one go about posting such enhancement requests (I'm a new GAE user). Dave -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.