A sensor and method for making a sensor includes providing a substrate
having an adhesion layer with a first functional group operatively
associated with a sol-gel composition having a second functional group,
and at least one linker material for connecting the first functional
group to the second functional group. In another embodiment, a sensor and
method for making the sensor includes providing a sol-gel layer
operatively associated with a sol-gel precursor solution that includes at
least one co-polymer and at least one solvent adapted to resist the
deformation of the sol-gel layer by decreasing evaporation, decreasing
cross-linking, increasing intermolecular forces, or increasing
elasticity.