I have a user control  which is set to output cache using the following
command..

 

<%@ OutputCache Duration="1000" VaryByParam="UserId" %>

 

When the usercontrol is being cached the usercontrol is no longer availble
so my code where ... usercontrol.userid=89   fails!

 

Do i just wrap this code in 

 

If usercontrol isnot nothing then

usercontrol.userid=89   

End if

 

Or is there a 'proper' way to do this?

 

 <http://www.intellixperience.com/signup.aspx> Is your website being
IntelliXperienced?  | www.yougoingmyway.com ?
regards
Anthony (*12QWERNB*)

Is your website being IntelliXperienced?

 

 

Reply via email to