Re: __VIEWSTATE different between localhost and server
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Sep 2006 19:06:11 -0500
Look at the <machinekey> settings; it could be a different algorithm (this
is less likely than the next suggestion). Also, examine the data differences
between the production database and your test/dev database. You may be
displaying too much data when on the server.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think Outside the Box!
*************************************************
"Eric" <riccarr@xxxxxxxxx> wrote in message
news:1158262222.839561.254590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I was testing my application on my localhost, when I View Source, I see
the __VIEWSTATE and its only small in size (about 500 bytes).
When I copy this same application over to our IIS server and then run
it, again do a View Source, the __VIEWSTATE balloons to over 200,000
bytes.
This is the exact same program, viewing on the same page of the
program, and it gives two hugely different __VIEWSTATE contents in the
generated HTML. I even navigate the program is the same manner so that
field content is the same.
I understand what the view state does and how it used to pass
information back and forth in order to maintain the content/state of
the controls.
What would/could cause this? I feel that since the program is the same
(same binaries) it must be a server related configuration.
Appreciate any comments or suggestions.
Regards,
Eric
.
- References:
- Prev by Date: Re: iis install after vs2k5
- Next by Date: Re: membership, SQLExpress and/or SQLServer
- Previous by thread: __VIEWSTATE different between localhost and server
- Next by thread: Request.Cookies?
- Index(es):
Relevant Pages
|