__VIEWSTATE different between localhost and server

E

Eric

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
 
C

Cowboy \(Gregory A. Beamer\)

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!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top