Tuesday, April 29, 2008

Cached Variables

I am learning. Looking for a way to pass Hazard_ID. I found out about cached variables. It seems that if I declare a session variable, I can not retrieve as a cached variable. However, if I set a variable using Cache["somevariable"] = somevalue, I can access it as a session variable.

Don't know why. I will have to further my research to determine the difference.

I have tried copying his routines including his web pages where it displays and fills the site information in lieu of passing the variable to his established page. I get multiple errors and had to address each one. I won't detail it here because there were so many.

To make a long story short, I have abandoned copying the code and pages to circumvent passing the variable. I will have to approach this another way, since my .NET coding is weak.

No comments: