Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Does viewstate ever expire?


Message #1 by "Greg Quinn" <greg@i...> on Wed, 30 Jan 2002 09:15:18 -0800
If ASP.NET assigns the user a session ID,and includes it in the viewstate

control of their form, but the person goes for lunch and then 40 minutes

later comes back and submits the form, does the server still know that the

sessionID assigned in a viewstate is for a particular user?



Will it keep the already filled in form fields values?



Greg

Message #2 by "Samuel Engelman" <samuel_engelman@p...> on Wed, 30 Jan 2002 09:27:11 -0500
Viewstate is completely client based. It actually stores the form data in the

web page as a hidden field.





|--------+--------------------------------->

|        |   "Greg Quinn"                  |

|        |   <greg@i...>         |

|        |                                 |

|        |                                 |

|        |   Wednesday January 30, 2002    |

|        |   12:15 PM                      |

|        |   Please respond to "ASP+"      |

|        |                                 |

|--------+--------------------------------->

  >------------------------------------------------------------|

  |                                                            |

  |      To:                                  "ASP+"           |

  |       <aspx@p...>                                  |

  |      cc:                                                   |

  |      Subject: [aspx] Does viewstate ever expire?           |

  >------------------------------------------------------------|









If ASP.NET assigns the user a session ID,and includes it in the viewstate

control of their form, but the person goes for lunch and then 40 minutes

later comes back and submits the form, does the server still know that the

sessionID assigned in a viewstate is for a particular user?



Will it keep the already filled in form fields values?



Greg













  Return to Index