Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Request Validation with WSS Cookies

Reply
Thread Tools

Request Validation with WSS Cookies

 
 
Anbu
Guest
Posts: n/a
 
      12-26-2005
All,

I'm hosting a web site on Windows 2003 server as default web site. Same
server is also hosting Windows SharePoint Server 2003 on another port.

When I access WSS site, it works fine. But while accessing the default
site from the same browser or without deleting the cookies, it throws
the following message.

Description: Request Validation has detected a potentially dangerous
client input value, and processing of the request has been aborted.
This value may indicate an attempt to compromise the security of your
application, such as a cross-site scripting attack. You can disable
request validation by setting validateRequest=false in the Page
directive or in the configuration section. However, it is strongly
recommended that your application explicitly check all inputs in this
case.

Exception Details: System.Web.HttpRequestValidationException: A
potentially dangerous Request.Cookies value was detected from the
client
(Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE& one=FALSE&mpp=FALSE").

I cannot restrict Sharepoint from using Cookies for it's own purposes.
Meanwhile I need to store few things like user authentication etc in
the cookies. Whenever I access the default site, after access the
sharepoint site, it generates the error.

How can I avoid?

TIA.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
ASP.NET 2.0, WSS 3.0: a ASP.NET App in Folder of WSS 3.0->Sec.Exep Sven W. ASP General 1 01-20-2008 02:17 PM
Request.Cookies.Get[] VS Request.Cookies mhshpk ASP .Net 0 07-18-2007 05:44 PM
What's the proper way of reading cookies? Request.Cookies("mycook") doesnt work user ASP .Net 3 03-31-2007 01:53 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57