The technique we teach our students in the MSF BRC course is to Slow, Look, Press and Roll.
Slow down before the turn.
Look through the turn.
Press on the handlebar in the direction you want to go.
Roll on the throttle to stabilize the motorcycle through the turn.
You want to have all your speed adjustments made before the turn to avoid braking in the curve. If you have to break while in the curve it robs the traction needed for cornering and could cause the tires to loose traction.
Well put Katamaniac! Big mistake many beginning riders make is assuming that hanging off the seat and dropping their knee makes them corner better. I mean, the pros do it on the race track, so it must be good, right?
Get the basics down first, the exact 4 steps above. Step 3, countersteering, is in my opinion the most important one, because this will save you in a panic situation, but only if you're so used to active countersteering that it becomes a natural reaction.
Once the four basics are down pat, then the hanging-off and even the knee dropping will give you that slight extra margin, but don't underestimate how much practice and time in the saddle it takes to truly master the 4 basics!