Data Browser
- Viewing Site
Sector 23 Code Bank
Logged in as:
Guest
Similar Topics...
Set width of anchor (a) in CSS
Specify SQL Query (Command) in Crystal Report
How to get unique ClientId in Custom .NET Server Control
MVC Application adding too many requests to Fiddler
Configuring new XP System to run .NET Web
XML Files are too large
Get Users in AD Group or Groups for a User
Download a file from a URL with Selenium in C
SQL Server Query to get Latest Backup Date
IE11 Cannot log in / gibberish in URL
NET 5 HttpPost Model null if too large and other issues
Get VSS Files by Date (VSS 8.0
SSRS Send multi valued parameter filter to stored procedure
The table type parameter must have a valid type name
How to Get all Recent SQL Calls to Database
Get Executable Path in C
SQL exception thrown from stored procedure does not raise exception in C
Query SharePoint Document by Custom Field using API
Get Resource from File without changing CurrentUICulture
Get Icon for Windows File Type Extension - C
Image.Save: Value cannot be null. Parameter name: encoder
Get Icon for File Path as a .NET Web Image
SSRS Parameter default value is blank when deployed to server
SSRS - Comparing multi-value parameter to NULL crashes report viewer
Handle Exception on ObjectDataSource bound to GridView
Download a file from the internet in C#
Overlib tool broken in Internet Explorer 10
Android app won't connect to internet on new moto z
TFS 2010 Source Control Explorer Freezes
TFS 2010 Open Folder in Windows Explorer
maxQueryStringLength and Internet Explorer
If you have
a
URL
with
too
many
query
parameter
s, you will
get
an
exception
in .
NET
on
a
production
server
(I don't believe this
results
in an
error
on localhost):
The length of the
query
string
for this
request
exceeds the configured maxQueryStringLength
value
.
The obvious
solution
seems to be to
update
the web.config
file
and
add
really
large
value
to httpRuntime/maxQueryStringLength.
However, this doesn't
actually
work
.
Users
of
Internet
Explorer
(
IE
) will have the
URL
truncated at 2048 characters regardless of your
setting
.
It is also
a
potential invitation to
a
Denial of
Service
attack
.
So, leave the maxQueryStringLength alone, and find
a
different
way to
pass
data
from one
page
to another. You could use:
Form
Post
to
post
the
data
via
javascript/html (this is an ideal
solution
but somewhat complex/unwieldy in .
NET
)
Session
, Cookie, Singleton
Dictionary
,
Database
, or
Cache
Variable
to store the
data
between the
click
of
a
URL
button
and the
page
load
of
that
page
Created By: amos
4/2/2013 2:47:28 PM
Updated:
4/2/2013 2:50:01 PM