The Nifty 50 index began the session at 24,371.50, posting a marginal gain of 8.20 points or 0.03 per cent, while the BSE Sensex opened at 79,885.36, up by 27.57 points or 0.03 per cent.