Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i tried to pass url like http://www.test.com/?str=a%20and%20b[^]
server is resetting the connection immediately, not sure if there are any workaround for this, application is in Asp.net and server is IIS8 please help....
Posted
Updated 17-Jul-15 0:15am
v2
Comments
Thanks7872 17-Jul-15 6:25am    
You are trying to send query into query string? Why?
ripun0032 17-Jul-15 6:31am    
because i am passing the search value in query string suppose say my value in "a and b" then these value will be passed into the query string at that time it is resetting my connection to server

1 solution

Have you tried to pass this link you using parameter... Use @param in your C# query... It will work...... Parameterized query..........
 
Share this answer
 
Comments
ripun0032 17-Jul-15 6:55am    
can you show me example ??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900