Peter Mertens wrote:
> Hi,
> 
> I'm willing to use the solution, to store the files on the server 
> (temporarily, until the user logs out) if nothing else works.
> 
> I cannot understand why one can reach his files over http when logged in 
> to the base2 webclient and not when logged in to my self-created client.

Is your client running in the same Tomcat web application as the rest of 
BASE? The session ID is only valid if they are in the same application. 
The session ID is also linked with the IP address of the caller. The 
same session can't be used from different computers.

The "correct" solution is that you add a servlet to your application 
that downloads the file, making your application independent of the 
current web client. Use the existing download servlet as a template. 
This will require a lot less work than to copy files around to temporary 
directories.

The code examples that Jari pointed out are also useful.

/Nicklas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel

Reply via email to