Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread AutoSessionName
Thu, Aug 2 2007 9:33 AMPermanent Link

"Enrico Ghezzi"
Hi

can i have 2 DBISAMSession , together in only one form ,

one with AutoSessionName at True   and  one with AutoSessionName at False
?

Thu, Aug 2 2007 4:46 PMPermanent Link

Eryk Bottomley
Enrico,

> can i have 2 DBISAMSession , together in only one form ,

Yes.

> one with AutoSessionName at True   and  one with AutoSessionName at False

Yes, so long as you make sure that the SessionName properties are still
unique.

Eryk
Fri, Aug 3 2007 3:53 AMPermanent Link

"Enrico Ghezzi"
> Yes, so long as you make sure that the SessionName properties are still
> unique.

notting........



i have 2 Session :

# 1 :

object dbIsamSession_REMOTO: TDBISAMSession
 Active = False
 SessionName = 'REMOTA_SESSIONE'
 SessionType = stRemote

and

2 #

object dbIsamSession_LOCALE: TDBISAMSession
 Active = False
 SessionName = 'LOCAL_SESSION'
 SessionType = stLocal
end

when i try to change AUTOSESSIONNAME of  #1 session , i have this error :

THE ACTIVE AUTO-SESSION CAN BE THE ONLY ACTIVE SESSION



Hint ?

Fri, Aug 3 2007 4:01 AMPermanent Link

Eryk Bottomley
Enrico,

> when i try to change AUTOSESSIONNAME of  #1 session , i have this error :
>
> THE ACTIVE AUTO-SESSION CAN BE THE ONLY ACTIVE SESSION


Sorry, I misunderstood you. If you are assigning names to all your
sessions yourself (as is the case here) then AutoSessionName makes no
sense and should be set to 'false'.


Eryk
Fri, Aug 3 2007 4:07 AMPermanent Link

"Enrico Ghezzi"

"Eryk Bottomley" <no@way.com> ha scritto nel messaggio
news:F594633E-7C16-4F6A-BF82-BEF6AE85EDCB@news.elevatesoft.com...
> Enrico,
>
>> when i try to change AUTOSESSIONNAME of  #1 session , i have this error :
>>
>> THE ACTIVE AUTO-SESSION CAN BE THE ONLY ACTIVE SESSION
>
>
> Sorry, I misunderstood you. If you are assigning names to all your
> sessions yourself (as is the case here) then AutoSessionName makes no
> sense and should be set to 'false'.

ok,

i have removed at all Session the SessionName property.

SessionName = ''

but , show always :
THE ACTIVE AUTO-SESSION CAN BE THE ONLY ACTIVE SESSION


i need the first Session ( the session of the ALL application ) in
autosession mode ,
the second session ( for some table, with encription ) with a Fix Session
name.

How i can have it ?

Fri, Aug 3 2007 5:40 AMPermanent Link

Arnd Baranowski
Enrico,

>
>
> i need the first Session ( the session of the ALL application ) in
> autosession mode ,

Just for interest. Why do you need for the "all application" mode
autosession to be activated?

Autosession mainly makes sence if you work with multiple threads and if
you don't want to assign the names by yourself for every threat you
generate. Other than that I have never used Autosession.

So for an all application session I don't see the need.

Arnd
Fri, Aug 3 2007 1:13 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Enrico,

<< can i have 2 DBISAMSession , together in only one form ,

one with AutoSessionName at True   and  one with AutoSessionName at False ?
>>

No, you can't.  However, unless you are using multiple threads, you don't
need AutoSessionName=True anyways.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image