• 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
Re: counting the bytes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: counting the bytes


  • Subject: Re: counting the bytes
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 15 Apr 2005 10:26:59 -0700


On Apr 15, 2005, at 5:53 AM, Wolfram Stebel wrote:

Hi all,

lets say we have a WO-application that serves multiple clients under the
same ip-address.
Is it possible to count the amount of data transmitted for each session to
charge the volume to a customer?
If it is a session based application, you could add code to session.appendToResponse() to record the size of the response.


Is there a way on the webserver to solve this?

You might be able to figure it out if you know the client's IP address. Otherwise, you are going to need some way to give the different clients a different URL or domain or some other way of distinguishing them

All other information, what to charge to the client, is stored in the
database of the application.


Chuck


--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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


References: 
 >counting the bytes (From: Wolfram Stebel <email@hidden>)

  • Prev by Date: Re: awakeFromInsertion on the client side in a D2J App
  • Next by Date: Windows Server 2003 & Web Objects
  • Previous by thread: counting the bytes
  • Next by thread: Head First Design Patterns code download?
  • Index(es):
    • Date
    • Thread