Webアプリでクライアント側の実行ユーザ名・PC名を取得する方法
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
【利用環境】
- MATLAB 2018b
- MATLAB Compiler
- Web App Server
- AppDesigner
スタンドアロンアプリから、Webアプリへの移行を検討中です。
AppDesignerで画面を作成し、ボタンをクリックすると処理を実行する仕様です。
実行ログを残す処理として、
getenv('username')
getenv('computername')
を利用して、ログファイルに 実行ユーザ名 実行PC名 を出力しています。
しかし、Webアプリの場合はどのクライアントPCから実行しても、Webアプリサーバーのユーザ名とPC名になってしまいます。
Webアプリでクライアントのユーザ名、PC名を実行ログに残すためには、どのような方法があるでしょうか?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Web App Server dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!