Cooller Posted March 17, 2017 Share 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 Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 17, 2017 Share Posted March 17, 2017 You can use MainModule for storing data. Quote Link to comment Share on other sites More sharing options...
Cooller Posted March 17, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
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.