Composite not working in blender i do render of my scene in 2 different render layers but i am unable to composite in a single image please help me. thanks
Set your main layer(s) as a mask layer.

This makes it so that when something covers up the layer in space, it becomes transparent in the renderlayer.