Webアプリでクライアント側の実行ユーザ名・PC名を取得する方法
6 views (last 30 days)
Show older comments
【利用環境】
- MATLAB 2018b
- MATLAB Compiler
- Web App Server
- AppDesigner
スタンドアロンアプリから、Webアプリへの移行を検討中です。
AppDesignerで画面を作成し、ボタンをクリックすると処理を実行する仕様です。
実行ログを残す処理として、
getenv('username')
getenv('computername')
を利用して、ログファイルに 実行ユーザ名 実行PC名 を出力しています。
しかし、Webアプリの場合はどのクライアントPCから実行しても、Webアプリサーバーのユーザ名とPC名になってしまいます。
Webアプリでクライアントのユーザ名、PC名を実行ログに残すためには、どのような方法があるでしょうか?
0 Comments
Answers (0)
See Also
Categories
Find more on MATLAB Web App Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!