Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread EDB / IW
Wed, Jan 23 2008 11:47 AMPermanent Link

"Harry de Boer"
LS,

Anyone uses EDB (C/S) with Intraweb (standalone exe). I create new
usersessions (as datamodule) but firing the browser the second time gives an
error "Error reading ses.SessionName: Session name 'sessie' already exists".
Anyone knows how to tackle this? I used middleware  comps which I replaced
for EDB comps and never had this problem.

Regards, Harry

Wed, Jan 23 2008 2:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Harry,

<< Anyone uses EDB (C/S) with Intraweb (standalone exe). I create new
usersessions (as datamodule) but firing the browser the second time gives an
error "Error reading ses.SessionName: Session name 'sessie' already exists".
Anyone knows how to tackle this? I used middleware  comps which I replaced
for EDB comps and never had this problem. >>

Where are you creating the TEDBEngine component ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jan 24 2008 5:11 AMPermanent Link

"Harry de Boer"
Tim,

> Where are you creating the TEDBEngine component ?
I'm not. I connect to a EDBserver. This is what I do (ses is the EDBsession
component):

procedure TIWServerController.IWServerControllerBaseNewSession(
 ASession: TIWApplication; var VMainForm: TIWBaseForm);
begin
 ASession.Data := TUserSession.Create(nil);
 with TdmSession(dmSession) do begin
   ses.RemoteHost := AppServerHost; //AppServerhost is read from ini file
   ses.RemotePort := AppServerPort; //AppServerPort is read from ini file
 end;
end;

Regards, Harry





"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> schreef in bericht
news:32E03473-5C00-4ABB-8DE3-3D23E4182775@news.elevatesoft.com...
> Harry,
>
> << Anyone uses EDB (C/S) with Intraweb (standalone exe). I create new
> usersessions (as datamodule) but firing the browser the second time gives
an
> error "Error reading ses.SessionName: Session name 'sessie' already
exists".
> Anyone knows how to tackle this? I used middleware  comps which I replaced
> for EDB comps and never had this problem. >>
>
> Where are you creating the TEDBEngine component ?
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Thu, Jan 24 2008 6:01 AMPermanent Link

"Harry de Boer"
Tim,

It looks that setting the AutoSessionName to TRUE does the trick.
Can you confirm that this it the way to go? Are there problems to be
expected going thie way?

Regards, Harry

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> schreef in bericht
news:32E03473-5C00-4ABB-8DE3-3D23E4182775@news.elevatesoft.com...
> Harry,
>
> << Anyone uses EDB (C/S) with Intraweb (standalone exe). I create new
> usersessions (as datamodule) but firing the browser the second time gives
an
> error "Error reading ses.SessionName: Session name 'sessie' already
exists".
> Anyone knows how to tackle this? I used middleware  comps which I replaced
> for EDB comps and never had this problem. >>
>
> Where are you creating the TEDBEngine component ?
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Thu, Jan 24 2008 11:41 AMPermanent Link

> AutoSessionName to TRUE

This is certainly needed in DBISAM.

/Matthew Jones/
Thu, Jan 24 2008 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Harry,

<< It looks that setting the AutoSessionName to TRUE does the trick. Can you
confirm that this it the way to go? >>

Yes, that is the fix.  I assumed that you were already using it, which is
why I didn't mention it in my last post.

For reference, here is the section of the manual that deals with this:

http://www.elevatesoft.com/scripts/manual.dll?action=mantopic&id=dbisam4&product=d&version=7&category=2&topic=8

(ISAPI Applications)

--
Tim Young
Elevate Software
www.elevatesoft.com

Image