a potentially dangerous request.cookies value was detected from the client

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

We have a site that has a number of web applications in it, each a different folder that has been “converted to app” in the IIS interface.

The main site creates a cookie named hsdCP_User, when the user navigates from the main site (ex: apps.mysite.com) to the apps.mysite.com/tickets <which is a WiseJ app>, I get the error in the title.

If I remove the cookie, wiseJ works fine.

Is it possible to run my wiseJ in as an app within a main site that uses cookies?

Shawn

  • You must to post comments
0
0

Thank you for your help, it pointed me in the right direction.

I had a cookie that had a small amount of XML in it.  This made it dangerous I guess.  I took that value out and all is good.

 

Thanks,

Shawn

  • You must to post comments
0
0

Hi Shawn,

Wisej only adds 1 cookie with the session id using a guid string. This error seems to be related to the main site configuration and probably other cookies. See: https://forums.asp.net/t/1930540.aspx?A+potentially+dangerous+Request+Cookies+value+was+detected+from+the+client

Wisej can also work without cookies, see the cookieless sessing in the config section.

 

HTH

Best,

Luca

  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json