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
Chris McCandless
Red Sky Software