hi , i want one code for one of my pages , i want when someone came to my page after 2 sec it'll transfer to another page and after 7 sec came back to the first page and stop ! i mean only one time work each day for one user !
That sounds rather bizarre. What are you trying to accomplish exactly?
It's typically poor practice to hijack a user's browser like that.