Michael Didway, 43, of Winslow Avenue, Buffalo, was ordered today by Cheektowaga Town Justice Paul S. Piotrowski to serve up to six months in jail on his misdemeanor guilty plea to criminal possession of a controlled substance.

Didway, who court officials said has an extensive record of shoplifting and drug-related minor offenses, was charged with having a crack pipe and a small amount of crack cocaine when he was arrested for shoplifting at the Rite Aid Pharmacy at 3950 Union Road July 27.