Chris,
Using viewstate sends all of the viewstate objects' data to the browser on each postback. Using sessionstate keeps the data on the server.
This can have a large impact on speed.
>I wonder if it would be better to use ViewState in this situation. I am not sure, but I thought it was better to use Session when moving to a different page, and ViewState for postbacks. I am not really sure there is any difference.
>
>>Valentin,
>>I set a session variable to tell me such things
>>something like this...
>>
>>Private sub myRoutine()
>> Session("CalledFrom_myRoutine")=True
>> ...other code for this routine...
>>endsub
>>
>>
>>
>>hth,
>>Rick