Source code modifications
The HTTP Commander is partially an open source code project.
You can find open ASP.NET code in same files in the HTCOMNET root folder.
You are allowed to modify any of these files if you need:
-
Default.aspx - This file is responsible for Forms and Windows authentication
and loading of main interface. Here you can modify authentication code or change interface view mode:
Uncomment <div id="httpCommander" ..> line to
place HTTP Commander interface inside the DIV region
(for example, iframe view).
- Logout.aspx - The file controls user logout process.
-
Localization\Help\UsersHelp.html - Help file that users see by clicking
help button on the toolbar.
-
Global.asax - The file controls global events,
error handling and programmatic users setup (optional).
-
App_Code\ExternalCMSIntegration.cs - The code for integration with
CMS like Joomla, Drupal.
Setup users programmatically
You can setup users, their authentication, permissions and folders programmatically.
I.e you don't need to use Admin panel and built-in XML files for storing data.
This is needed if you have own database of users or you want programmatically setup users and folders.
All you need is to edit open source Global.asax file.
Global.asax stores sample code to setup users and folders.
You should uncomment code in Application_Start event to use programmatic setup.
Below is the example of building list users, groups programmatically.
Change Application settings programmatically
You can change Application settings or set individual settings for each session programmatically:
-
To change Application settings type in code like:
This is setting of parameter "ShowDiagnosticsASPXOnlyForAdmins".
-
To set individual Application settings for each user session type in code:
This is setting of parameter "ShowDiagnosticsASPXOnlyForAdmins" for current session. Then you want to use setting for individual session set Utils.UsePersonalConfiguration flag to the "true".
The HTTP Commander has a license with full open source code
in case you need to make more changes.
Our support team
can make some custom modifications for you as well.
DIV view mode: