• 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
WebService or Session Timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebService or Session Timeout


  • Subject: WebService or Session Timeout
  • From: Gerald Hanks <email@hidden>
  • Date: Tue, 5 Oct 2004 17:06:38 -0600

I have an interesting problem. I have an application that uses a webservice to retrieve pdf documents to be sent to my users. I have a page that has a couple of buttons on it that the user can click on to receive one of two pdfs. Clicking on either button causes the webservice to retrieve the pdf into an NSData object which is stored as a global variable in the page holding the buttons. After retrieving the pdf the method returns null. I overrode the appendToReponse method to see if there was pdf data waiting to be sent and if so it changes the content type and puts the pdf content into the response.

This all works wonderfully on my dev box. I can retrieve pdf after pdf with no problems at all. When I deploy the application I run into problems. I am only able to retrieve one or two pdf documents before every response ends in a session expired page or an error page telling me that there is no instance available. I can simply click the back button and refresh the page or browse to another page in my app to see that my application is active as well as the session. Does anyone have any advice or direction that I may take in trying to debug this problem?

--gerald

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WebService or Session Timeout
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: problem writing to LDAP
  • Next by Date: Re: Application not found....
  • Previous by thread: Re: problem writing to LDAP
  • Next by thread: Re: WebService or Session Timeout
  • Index(es):
    • Date
    • Thread