Simulating session?

From: EdUarDo (eduardo_at_pesima.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 18:00:29 +0200

Hello, I'm going to expose my problem:

I'm working on a web application using J2SDK 1.4.2.

I have an object that I'm saving in session. Moreover I have a business class that need to
access the object I saved in session, but how you can guess, my business class doesn't have access to session.

I was thinking in serialize the object in a file, and then the business class could access that file, but the object
I want to save in session is different for each user, so I cannot distinguish the file that belongs to each user.

How could I solve this issue?



Relevant Pages

  • Re: fail to get Application object???
    ... Inheriting the Page class in a ... Business class doesn't make the Business class the HttpHandler for the ... If you want to access Application and Session from a business class, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Saving DataTable to session vs saving a Custom object.
    ... I don't think the session you refer to will actually result in any ... The biggest overhead you'd see in memory usage would be the ... > DataTable to session vs saving a custom object of the same data. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Default setting for Saving attachments
    ... You can change the setting for that session by saving a whole message to ... "Lynn W" wrote in message ... > save any pics there which is what I am usually saving, ... > could change it rather than having to scroll to find the usual folder to ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Issue with threading?
    ... then remove from the Session once it has been used. ... Instead of saving the info to a cookie, ... impossible given that they are three separate apps? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Content-Disposition starts a new session
    ... Method 1 gets around the 'file not found' issue but the new session problem ... Method 2 seems to allow opening the file to work ok, but saving the file ... aContentType, byteaData, string aDefaultFileName) ...
    (microsoft.public.dotnet.framework.aspnet)