_Layout.cshtml
@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet
<!DOCTYPE html>
<html>
<head>
@Html.Raw(JavaScriptSnippet.FullScript)
</head>
...
When I remove the above code the cookies are still there in the browser (before I started debugging mode I deleted all cookies in the browser :-) )
I do not need the clientside app insights JS library. I use app insights only server side.
How do I get rid of those cookies totally?
UPDATE
I use asp.net core 1.1 and I can NOT update!
true
(default is false), the Application Insights Client-side JavaScript SDK will not store or read any data from cookies. Reference:Managing Application Insights Cookies – Zhi Lv Oct 22 '20 at 6:42