Options selling query

If I sell an option can I buy it back or (square off) the position after just 15 min or 30 mins and still receive the premium

Yes u can do that

That is known as intraday trading

U can very well do it

still receive the premium

U wont have the premium with u as soon as u sq off

Then after a day or something will I still have the premium

Sorry for asking i am still a novice for options selling

I ask this because I believe the exchange is in favour of buying the contract yet imposes restrictions on selling

No , you are getting it wrong ; try @commando08 advice