Logi Info Forum Threads    >    Posts


Cannot set sameSite cookie in web.config

Jeff Alba
United States

09 Mar 2020 01:12 PM
   
This thread is open for replies.
12.7   .NET app   48 views   Subscribe  


I'm trying to set the sameSite attriube on the sessionState, and httpCookies properties in the web.config as outlined in this post https://devnet.logianalytics.com/rdPage.aspx?rdReport=ForumThreadPosts&CatID=0&dnID=&FID=1&MaxRows=10&ThreadID=37580&YP=0

I am getting a parser error 'Unrecognized attribute 'cookieSameSite'. Note that attribute names are case-sensitive.'

here is my config...

    <sessionState mode="InProc" cookieless="false" cookieSameSite="None" />

I get the same error for...

    <httpCookies sameSite="None" httpOnlyCookies="true" />

Natan Cohen
United States

26 Mar 2020 05:43 PM

Hi Jeff,

Can you tell me what version of ASP.NET you have installed on the server?  And what version of .Net is the application pool that hosts your Logi app targeting?

Thanks,
Natan



Contact

United States
7900 Westpark Drive
Suite A200
McLean
Virginia, 22102
1-888-564-4965
salesteam@logianalytics.com

United Kingdom
Scott House
The Concourse
Waterloo Station
London, SE1 7LY
020 3103 0306
emea_sales@logianalytics.com

Ireland
20 Harcourt Street
Suite 10
Dublin
D02 H364
3531 400 7506


© Copyright 2020 Logi Analytics, Inc. All Rights Reserved           |          Contact DevNet          |          Site FAQs          |          Terms of Use          |          LogiAnalytics.com