IGB Headers


Contents

Trusted Site Header List

When a player has marked a website as Trustworthy, EVE’s In-Game Browser will dispatch a wealth of additional information in its HTTP headers, meant to help third-party IGB-enabled websites to customize their content for the end user. These headers are the following:

  • HTTP_EVE_TRUSTED - This header will have the value “Yes”.
  • HTTP_EVE_SERVERIP - This header will have a string containing the IP address of the server to which the end user is currently connected.
  • HTTP_EVE_CHARNAME - This header will have a string containing the end user’s character’s name.
  • HTTP_EVE_CHARID - This header will have an integer containing the end user’s character ID number. This number is unique to each character in EVE.
  • HTTP_EVE_CORPNAME - This header will have a string containing the end user’s corporation’s name.
  • HTTP_EVE_CORPID - This header will have an integer containing the end user’s corporation ID number. This number is unique to each corporation in EVE.
  • HTTP_EVE_ALLIANCENAME - This header will have a string containing the end user’s alliance name. If the character is not in an alliance, this header will be set to "None".
  • HTTP_EVE_ALLIANCEID - This header will have an integer containing the end user’s alliance ID number. This number is unique to each alliance in EVE. If the character is not in an alliance, this header will be set to "None".
  • HTTP_EVE_REGIONNAME - This header will contain the name of the region in which the end user’s character is presently located.
  • HTTP_EVE_CONSTELLATIONNAME - This header will contain the name of the constellation in which the end user’s character is presently located.
  • HTTP_EVE_SOLARSYSTEMNAME - This header will contain the name of the solar system in which the end user’s character is presently located.
  • HTTP_EVE_STATIONNAME - This header will contain the name of the station in which the end user’s character is presently located. If the character is in space, or otherwise not at a station, this header will be set to "None".
  • HTTP_EVE_STATIONID - This header will contain the unique identifier number assigned to the station at which the user’s character is presently located. If the character is in space, or otherwise not in a station, this header will not be present. *Note* This header does not appear to be used.
  • HTTP_EVE_CORPROLE - This header will contain an integer which is the set of corporation role bits combined via binary-OR operations that have been granted to the current user’s character by his/her corporation. If the character does not have any roles, this will be the number zero.
  • HTTP_EVE_SOLARSYSTEMID - This header will contain the id of the solar system in which the end user’s character is presently located.
  • HTTP_EVE_WARFACTIONID - This header will contain the users warfaction id
  • HTTP_EVE_SHIPID - This header will contain the users ship id
  • HTTP_EVE_SHIPNAME - This header will contain the users ship name
  • HTTP_EVE_SHIPTYPEID - This header will contain the users ship type id
  • HTTP_EVE_SHIPTYPENAME - This header will contain the users ship type nam

Deleted Headers

Due to certain limitations, some headers supported in earlier versions of the in-game browser will not be supported in EVE Online: Dominion. These headers are:

  • HTTP_EVE_NEARESTLOCATION

Requested Headers

Headers that the player base have suggested.

  • HTTP_EVE_MILITIANAME - This header would contain the name of the Fac War militia the character is a member of. If the character is not part of a militia this header would not be present. (src)
  • HTTP_EVE_MILITIAID - This header would contain the id of the Fac War militia the character is a member of. If the character is not part of a militia this header would not be present. (src)
  • HTTP_EVE_REGIONID, HTTP_EVE_CONSTELLATIONID, HTTP_EVE_SOLARSYSTEM - ID of location matching the NAME. The ID will be useful for sites using database dump.
  • HTTP_EVE_SHIPID - Holds the id of the current ship the player is in
  • HTTP_EVE_VALIDATION_STRING - Holds a string, through which the other HTTP Header can be validated using the EvEApi. (approach: the HTTP Header are sent to a server, the server can access the EvEApi using the HTTP_VALIDATION_STRING. The Request returns the ID and Name of the Char, which can be checked against the given data in the Headers)
  • HTTP_EVE_SYSTEMSECURITY - This header will have the security level of the system the player is currently in. (For pages not using the data dump)
  • HTTP_EVE_CORPTICKER - returns the corporation ticker of the members corporation (src)
  • HTTP_EVE_UICOLORS - returns comma separated hex colors of user's eve ui color settings

Implementation Tips

Bear in mind that these headers are easily spoofed, and you should not rely on them for security or authentication.

PHP

Headers are exposed via the $_SERVER global variable. The CHARNAME header above, for instance, would be accessed via $_SERVER['HTTP_EVE_CHARNAME'];

When using NGINX as your webserver, make sure to activate the underscores_in_headers directive in your server {...}-config.

ASP

When coding in ASP you should use Request.ServerVariables("HEADER_EVE_<variable>") instead of Request.ServerVariables("HTTP_EVE_<variable>").

CFML

When coding in ColdFusion (CFML) you should drop the HTTP_ from the beginning of each listed variable.

To access the HTTP headers in ColdFusion use the struct returned from GetHttpRequestData() as follows:

GetHttpRequestData().Headers

For example:

<cfset thisCharID = GetHttpRequestData().Headers.EVE_CHARID />

Perl

When coding in Perl you should use $ENV{'HTTP_EVE_<variable>'}

For example:

my $trusted = $ENV{'HTTP_EVE_TRUSTED'};
my $charname = $ENV{'HTTP_EVE_CHARNAME'};