BlobStore - Upload Servlet and User Session Variables

104 views
Skip to first unread message

savilak

unread,
May 22, 2012, 1:32:19 AM5/22/12
to google-a...@googlegroups.com
I use BlobStore to store excel files as per Ikai's sample 
(http://ikaisays.com/2010/09/08/gwt-blobstore-the-new-high-performance-image-serving-api-and-cute-dogs-on-office-chairs/#comment-530).

I use facebook to authenticate my users and I keep the user name at a session variable.
The blobstore upload servlet creates a new session and the user name is not accessible any more (why is this happening?).
Ikai on his sample uses UserServiceFactory, which works only with Google Users authentication (is this correct?).  

How can I overcome this issue?

I would much appreciate some feedback on the issue. 



savilak

unread,
May 29, 2012, 6:13:45 AM5/29/12
to google-a...@googlegroups.com
Solved the issue! 
This was caused localy only be because the request used not 127.0.0.1 but the name of my machine thus was creating a new session! 
Reply all
Reply to author
Forward
0 new messages