Debug on the server with scalable web sessions
Scalable web sessions were a significant improvement brought by 4D v18 R6. They allow you to use 4D tags, 4D actions, and REST API in preemptive processes, even in interpreted mode, on a 4D server. However, to debug such programs, you needed to open your development environment on the server to make it switch to cooperative mode, as the debugger window cannot be opened with preemptive processes. This way, until v19 R2, you could debug REST, 4D actions, or 4D tags. From v19 R3, all of this has become much easier, and you can debug on the server-side simply by attaching the debugger to it, as usual.
How to define sleeping timeout for remote 4D applications
To prevent session loss, 4D monitors the sleeping state of remote 4D applications.
When a user is connected from a remote 4D application to a 4D Server and their computer goes into sleep mode, the information is sent to 4D Server. At the moment the user’s computer wakes up, the remote 4D application then recovers its execution context.
Scalable sessions for advanced web applications
Nowadays, web applications are essential modern tools. As machines and processors become more and more powerful, your web applications must constantly meet performance requirements. This is why with 4D v18 R6, the 4D Web Server offers a new kind of web session: the scalable Web session.
Let’s find out more!
A better understanding of 4D REST sessions
In a previous blog post, we showed you how to get started with the 4D REST server. We walked you through different CRUD operations using Postman and pointed you to the full REST documentation. In this blog post, We’ll explain how sessions work in 4D. This understanding will ensure that you’ll be able to build a session-based authentication system using the 4D REST server.
A ready-to-use component for easy Mobile Session Management
In a previous blog post, we introduced the concept of Mobile Session Management. A concept that allows you to keep track of users after their initial user request. In this blog post, we’ll provide you with a component to help you easily manage your mobile users.
Manage Mobile Sessions in 4D for iOS
4D for iOS packs in several features and concepts to help you easily get started with your first mobile application. Besides the step by step tutorial, we’ll be providing blog posts tips to speed up the learning process. In this post, we’ll explore an important concept in 4D for iOS: Mobile Session Management.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy