Telegram_2018-11-08T06

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2018 > 11 > 08 >

Telegram_2018-11-08T06

Telegram link

 

2018-11-08T06:00:52

 

Exactly - then I’ll transfer all these variables from US to ServerController and will generate them at the moment ASession.Data := TIWUserSession.Create(nil, Asession);

 


 

Telegram link

 

2018-11-08T06:03:08

 

Did I understand you correctly?

 

You are a genius Mr Jose??????

 


 

Telegram link

 

2018-11-08T06:08:19

 

Clean socket connection almost

 


 

Telegram link

 

2018-11-08T06:10:30

 

Vars must be in the type: code Usersession , but type: bold privated individually for each session. They will be unique for each session you create.

 


 

Telegram link

 

2018-11-08T06:12:08

 

But - You but you wrote it - I thought I need to remove UserSessionUnit

 


 

Telegram link

 

2018-11-08T06:14:46

 

Yes, because every NEW session have your UserSession.

 


 

Telegram link

 

2018-11-08T06:15:11

 

type: pre procedure TIWServerController.IWServerControllerBaseNewSession(

 

ASession: TIWApplication);

 

var

 

Gnm : string;

 

Sender: TObject;

 

begin

 

ASession.Data := TIWUserSession.Create(nil); language:

 


 

Telegram link

 

2018-11-08T06:15:16

 

look your code

 


 

Telegram link

 

2018-11-08T06:15:54

 

Every NEW SESSION, have an individual TIWUserSession, CREATE

 


 

Telegram link

 

2018-11-08T06:17:05

 

if (US.AppID='')or(US.IP='')then WebApplication.TerminateAndRedirect(' type: link http://??.site '); - but if session is not user - it will be terminate - so every session have US in my way?

 


 

Telegram link

 

2018-11-08T06:17:43

 

that's about it

 


 

Telegram link

 

2018-11-08T06:18:35

 

Every session has an individual US

 


 

Telegram link

 

2018-11-08T06:20:11

 

Sorry - not well understood

 


 

Telegram link

 

2018-11-08T06:21:15

 

Change this:

 

type: pre ASession.Data := TIWUserSession.Create(nil);

 

language: to this:

 

type: pre ASession.Data := TIWUserSession.Create(nil, ASession); language:

 


 

Telegram link

 

2018-11-08T06:21:43

 

type: pre procedure TIWServerController.IWServerControllerBaseNewSession(

 

ASession: TIWApplication);

 

var

 

Gnm : string;

 

Sender: TObject;

 

begin

 

ASession.Data := TIWUserSession.Create(nil);

 

ASession.Data := TIWUserSession.Create(nil, ASession); language:

 


 

Telegram link

 

2018-11-08T06:21:58

 

I told you to change your code

 


 

Telegram link

 

2018-11-08T06:22:25

 

the Second line is for create a US for every session.

 


 

Telegram link

 

2018-11-08T06:22:51

 

?? Ok will try it now??

 


 

Telegram link

 

2018-11-08T06:24:05

 

A need both Asession? Or to change? Sorry - I think like a computer)))

 


 

Telegram link

 

2018-11-08T06:24:33

 

As here?

 


 

Telegram link

 

2018-11-08T06:24:47

 

No, only second line:

 

type: code ASession.Data := TIWUserSession.Create(nil, ASession);

 


 

Telegram link

 

2018-11-08T06:25:02

 

ok

 


 

Telegram link

 

2018-11-08T06:28:00

 

By the way - when I'm deploing App - I need to delete GoWeb_session.txt? Or not?

 


 

Telegram link

 

2018-11-08T06:29:03

 

I don't know what is this, :)