/    Sign up×
Community /Pin to ProfileBookmark

Do Not Show Window Again

test

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@Willy_DuittOct 07.2004 — Although you are setting a cookie...

You are not checking if the cookie is present when the page loads...

.....Willy
Copy linkTweet thisAlerts:
@chugger93authorOct 07.2004 — Any help with that?
Copy linkTweet thisAlerts:
@Willy_DuittOct 07.2004 — http://www.webdeveloper.com/forum/showthread.php?s=&threadid=46010

You can also use the [i]Search feature[/i] to find more examples of setting and retrieving cookie values...

.....Willy
Copy linkTweet thisAlerts:
@chugger93authorOct 07.2004 — right...

Ive tried getting the cookie with this code, but no luck

[code=php]function getCookie(name) {
dc = document.cookie;
prefix = name + "=";
begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else
begin += 2;
end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length,end));
}[/code]
Copy linkTweet thisAlerts:
@Willy_DuittOct 08.2004 — You need to be reading that cookie value on the page which is opening the popup... and you have not shown this page...

It would probably be in your best interest to post a link since there is more than one page to work with... and sorry but I can not help you any further because I am unable to open your popup with ActiveX and Flash disabled...

.....Willy
×

Success!

Help @chugger93 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.24,
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,
)...