Cooller Posted March 17, 2017 Posted March 17, 2017 Hi! Is it possible to access the SessionState, AutoStartSession, SessionTimeOut properties and the OnSessionEnd event of the embedded idHTTPServer? ARequestInfo.Session is always nil in the event handler OnHTTPDocument of UniServerModule, but i need read/write some custom data that must be available during the session. Quote
Hayri ASLAN Posted March 17, 2017 Posted March 17, 2017 You can use MainModule for storing data. Quote
Cooller Posted March 17, 2017 Author Posted March 17, 2017 Thank you so much! I didn't know that an instance of the MainModule is created for the OnHTTPDocument event. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.