Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

viewstate timeout ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicopilami - 09 Apr 2008 10:51 GMT
Hello

I am using the viewstate for storing my variables between two page
postbacks (the same page is called back), in order to not save any
cookie or session variable on the server;

My problem is that it seems there is a timout between the render of
the page and the moment you postback the page  by clicking on a
control : if i click on a button just after the page is displayed, no
pb, but if i wait about 30 seconds and then click on the button, then
the viewstate seem to have been cleared;

After many researchs on the net, i didn't found any response to my
question, so i really don't understand why this happens. could you
help me please ? should i add anything to my HTML code or is the
problem on the server side ?

For information, i'm working on IIS 5.0, C# 2, Visual Studio 2008
express

bye
Nico
Aidy - 09 Apr 2008 11:15 GMT
You sure the issue isn't being caused by the Session timing out?  Or your
Application being shutdown due to inactivity?

> Hello
>
[quoted text clipped - 18 lines]
> bye
> Nico
Nicopilami - 09 Apr 2008 16:12 GMT
> You sure the issue isn't being caused by the Session timing out?  Or your
> Application being shutdown due to inactivity?
[quoted text clipped - 21 lines]
> > bye
> > Nico

it would be curious that the application timeout would be set up to
stop after 40 seconds i guess... but where could i check it ?
Session timeout is set up by default to 30 minutes.

Nico
Aidy - 10 Apr 2008 09:26 GMT
> it would be curious that the application timeout would be set up to
> stop after 40 seconds i guess... but where could i check it ?
> Session timeout is set up by default to 30 minutes.

Sorry I didn't read it properly, I thought you said 30 mins, not 30 seconds.
No, defo something else going on, the viewstate won't clear after 30
seconds.
Peter Bromberg [C# MVP] - 09 Apr 2008 18:42 GMT
ViewState cannot "time out"; its just the contents of a hidden form field in
the page HTML. You have something else going on there.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net

> Hello
>
[quoted text clipped - 18 lines]
> bye
> Nico

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.