Problem with Session management and large file upload
Problem with Session management and large file upload
- Subject: Problem with Session management and large file upload
- From: jens schulze <email@hidden>
- Date: Mon, 13 Oct 2003 18:27:11 +0200
Hi to everybody!
I have been trying to combine the ishacks example with the fileupload
example (large file). In the example
the file "DARequestContentPage" uses >> return
context().completeURLWithRequestHandlerKey( "wis",
"ProcessRequestContent", null, false, 0);<< to initiate the upload
procedure. That works nicely! However my userinformation that was
stored in the session is lost due to the creation of a new session.
I have been trying:
public void setCacheFilm(WOSessionStore st){
if (fileName == null){
Application.aWOContext = Application.aWoSession.context();
st.saveSessionForContext(Application.aWOContext);
}else{
System.out.println("=====bin in setCacheFilm aber mache
nichts====================");
}
and later to restore the session:
...
WOSession aktuelleSession =
Application.aWOSessionStore.restoreSessionWithID(Application.aSessionID,
Application.aRequestOB);
...
the data are stored in an application variable. So far I was not able
to restore the session.
Any help would be appreciated as I am struggling with now for a number
of day and tried many different api4s but no success.
thank you everybody
Jens Schulze
Fachhochschule Gelsenkirchen
Abteilung Bocholt, Fachbereich 8, Elektrotechnik
Prof. Dr. Jens Schulze, Marketing & Vertrieb
M|nsterstrasse 265
46397 Bocholt
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.