Last active
January 25, 2016 22:13
-
-
Save ejsmith/1b5f03f676fcd539f6cd to your computer and use it in GitHub Desktop.
Revisions
-
ejsmith revised this gist
Jan 25, 2016 . 1 changed file with 4 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,18 +4,10 @@ ------------------------------------- Exceptionless can also track user sessions which enables powerful application analytics. Session tracking can be enabled by simply adding this line to the startup of your application: ExceptionlessClient.Default.Configuration.UseSessions() You will also need to tell Exceptionless who the current user is in your application when the user logs in: ExceptionlessClient.Default.Configuration.SetUserIdentity("UNIQUE_ID_OR_EMAIL_ADDRESS", "Display Name") -
ejsmith revised this gist
Jan 25, 2016 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,11 @@ ------------------------------------- Session Tracking ------------------------------------- Exceptionless can also track user sessions which enables powerful application analytics. Sessions can be enabled by simplying calling: You can also specify a unique id and friendly display name by calling the following extension method: ExceptionlessClient.Default.Configuration.SetUserIdentity("UNIQUE_ID_OR_EMAIL_ADDRESS", "Display Name") -
niemyjski created this gist
Jan 25, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ ------------------------------------- Session tracking ------------------------------------- Exceptionless can track user sessions by a users identity which defaults to Environment.UserName. You can also specify a unique id and friendly display name by calling the following extension method: ExceptionlessClient.Default.Configuration.SetUserIdentity("UNIQUE_ID_OR_EMAIL_ADDRESS", "Display Name") To enable session start event, session heartbeats and session end events to be sent automatically please call the following extension method before the call to Exceptionless.ExceptionlessClient.Default.Register(). ExceptionlessClient.Default.Configuration.UseSessions() If you also want to disable session heartbeat events from being sent every 30 seconds during inactivity please pass false as an argument to the UseSessions() extension method. ExceptionlessClient.Default.Configuration.UseSessions(false)