Landing page issue

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

tohtoh
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Nov 20, 2012 1:01 am

Landing page issue

Postby tohtoh » Tue Nov 20, 2012 1:18 am

I have an existing website which I added a landing page (Similar to how Groupon or deal site) where once a user launched the site, it will pop up this landing page asking user to subscribe newsletter.

However, once user click the close button to close the landing page, it will re-appear when user click on any link. I'm puzzled how come this landing page will re-appear a second time as it's irritating.

Please provide advice. Many thanks.

msmohan
New php-forum User
New php-forum User
Posts: 36
Joined: Sun Jun 05, 2011 9:03 pm

Re: Landing page issue

Postby msmohan » Tue Nov 20, 2012 5:35 am

Hi,

First tell me how you achieved the landing page.

We can achieve it in two ways, using session and cookie. When any user come to visit your site then you should show the landing page once. before you showing the landing page set a session flag as 1 and check the sessions flag null or 1 before rendering the landing page. simple!


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest