Question

Application Startup - Global variables

Hi all,

 

I need some way to fill a syssetting per user at application startup, is there any way to do this ?

 

Thanks,

Like 0

Like

4 comments
Best reply

Jerome BERGES,

 

Hello,

 

If you want to call a custom service upon application start in IIS you will need to find some related topic on stackoverflow or create some additional logic on your own, since its not related to the Creatio functionality. But there is another way you can achieve the task, but it requires user to login to the application. You can set some section page as default page that should be opened upon system user login:

and then call a custom process that will call a web-service that will retrieve flags needed. The example of calling a process upon entering a section can be found here.

 

Best regards,

Oscar

Hello Jerome,

 

Can you please specify your business task? You need to fill a system setting right after the user logs in to the system, am I correct? Or the task is to fill it whenever the application (website) starts?

 

Thank you!

 

Best regards,

Bogdan S.

 

Hi Bogdan,

 

I have an internal service that return 3 flags for a specific user.

I would like those 3 flags to be available globally accross the user session. But I've no idea of the event to use to call the service at startup.

Jerome BERGES,

 

Hello,

 

If you want to call a custom service upon application start in IIS you will need to find some related topic on stackoverflow or create some additional logic on your own, since its not related to the Creatio functionality. But there is another way you can achieve the task, but it requires user to login to the application. You can set some section page as default page that should be opened upon system user login:

and then call a custom process that will call a web-service that will retrieve flags needed. The example of calling a process upon entering a section can be found here.

 

Best regards,

Oscar

Thanks Oscar, this will do the trick.

Show all comments