/    Sign up×
Community /Pin to ProfileBookmark

How do i get my registration pop form to reappear immediately?

[B][I]Hello [/I][/B]
 
My POP REGISTRATION FORM works pretty good. However, I’m having a problem with a[I] New Registration[/I] or a [I]User logging back in[/I] due to the FORM not reappear immediately. It come back eventually after closing down the browser or after a 30-40 minute wait. [I]It should appear immediately and prompt User to login each time after closing down the browser?[/I] I tried changing the time from 1-year to 1-hour or less, or just leaving time out all together but that didn’t work.

My Question is: How do I get the Registration Form to re-appear immediately on next visit, after logging out and shutting down the browser? I am still very new to coding, so please take a look at my code below and if possible give me a real sample and/or insert it into my code. Thanks!

Regards,

Cid ?
Email: [email][email protected][/email]

p.s. Please feel free to edit my code:

<?php

if(@$_COOKIE[‘user_id’] != true) { // If the cookie “user_id” is not set to true

setcookie(‘user_id’, true, time() + 31563000); // Sets a 1-year long cookie called “user_id” to equal true.

setcookie(‘user_id’, true); // Sets a session-duration cookie called “user_id” to equal true.

require(‘reg_form_detail.php’); // require your form detail page

//}

}

?>

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @Cid spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...