Redirect to last page visited


Hey guys,

I have 2 pages, one for woman and other for men.

I’ll be pushing traffic via facebook ads splitted by gender.

As soon as the woman enters visits the page, if she tryes to enter I need her to be redirected to the page

I know I need to do this with cookies but I just can’t find a solution online.

Any ideas?

Cheers =]