View Full Version : Cookie [choose langauge] with no return

Jun 18th, 2012, 04:12 PM
hi everyone.

Does anyone know how to create a JS cookie with no return at all.

For example
Main website [www.cookie.com] within my page my links

If the user would choose one of those 2 links he wouldnt be able to go back to www.cookie.com is it possible? and if it can be done could you please give me an example.

Thank you.

Philip M
Jun 18th, 2012, 04:20 PM
Not possible. You cannot disable the back button of the browser.
The user can simply right-click on the page and choose to go back, or just restart his browser.

It is your responsibility to die() if necessary….. - PHP Manual