🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #83

Re: Session...

#83
From: Bj�rge S�ther
Date: Tue, 07 Sep 1999 00:00
25 lines
2049 bytes
Hi !

If you try to "reload" an object like TSession, it's more or less garbage (all the pointer values
are invalid). The properties like string- and integervalues may be streamed to a MMF, but what about
the object type properties ? They have to be recreated, you can't just reload a pointer from a
file...

Well, maybe I'm missing something...;^D

--

Bjoerge

<<Greg Lorriman skrev i meldingen <37d2dbf5.0@nnrp1.news.uk.psi.net>...
Find a memory mapped file TStream descendant on the delphi super page and
then read the VCL source. I suspect what you need can be done another way or
goes beyond the design and usage of TSession.

MegaBug <MegaBug@MegaBug.com> wrote in message
news:37d28478.27809841@news.imaginet.fr...
> How could I use "Memory Map File" for saving the Session Object ?
>
> for your solutions : mailto:bbeyssac@multimania.com
>
>>
Technical Details
Message-ID: <l3YA3.761$je3.6578@news1.online.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37d28478.27809841@news.imaginet.fr> <37d2dbf5.0@nnrp1.news.uk.psi.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ffff5,a23ba952ef1eba4a
X-Google-Attributes: gidffff5,public
X-Google-Thread: f6386,a23ba952ef1eba4a
X-Google-Attributes: gidf6386,public
X-Google-Thread: 10baee,a23ba952ef1eba4a
X-Google-Attributes: gid10baee,public
X-Google-Thread: ff75c,a23ba952ef1eba4a
X-Google-Attributes: gidff75c,public
X-Google-Thread: 10de66,a23ba952ef1eba4a
X-Google-Attributes: gid10de66,public
From: "Bj�rge S�ther" <REMOVE_bsaether@online.no>
Subject: Re: Session...
Date: 1999/09/07
Message-ID: <l3YA3.761$je3.6578@news1.online.no>
X-Deja-AN: 521883285
References: <37d28478.27809841@news.imaginet.fr> <37d2dbf5.0@nnrp1.news.uk.psi.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: news-abuse@online.no
X-Trace: news1.online.no 936660305 130.67.10.99 (Tue, 07 Sep 1999 01:25:05 MET DST)
Organization: Telenor Online Public Access
NNTP-Posting-Date: Tue, 07 Sep 1999 01:25:05 MET DST
Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.pascal.delphi.databases,borland.public.delphi.database.desktop,borland.public.delphi.database.multi-tier,borland.public.delphi.database.sqlservers