• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with Session management and large file upload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: The conection dictionary at "start-up"
  • Next by Date: Re: Help with understanding relationships
  • Previous by thread: Re: WOResourceManager pathForResourceNamed deprecated method
  • Next by thread: Re: Help with understanding relationships. What about the arrows?
  • Index(es):
    • Date
    • Thread