Hi, in WiseJ, how to use HttpContext. In ASP, it is used to get client details for log purpose.
Is it possible to get these things: HttpContext.Current.Request.LogonUserIdentity.Name, HttpContext.Current.Request.UserAgent in WiseJ ?
HttpContext is not available when using WebSocket. Use Application.User, Application.UserIdentity, Application.UserAgent, Application.UserHostName, etc: https://wisej.com/docs/2.1/html/Properties_T_Wisej_Web_Application.htm
Usually all the information you can possibly get from the client, and the browser is available on Application and Application.Browser (https://wisej.com/docs/2.1/html/T_Wisej_Core_ClientBrowser.htm)
You can also turn on impersonation (which doesn’t work anymore with ASP.NET integrated pipeline) adding impersonate: true to default.json (https://wisej.com/docs/2.1/html/Configuration.htm).
Please login first to submit.