_fnCreateCookie builds cookie filename with #
_fnCreateCookie builds cookie filename with #
klex
Posts: 6Questions: 0Answers: 0
Hi there!
I went crazy because my cookie-settings disappeared sometimes.
After searching for a "while" I found out why ;)
-> by using ajax / onclick links:
[code]
Foo
[/code]
Now the link puts the # at the end of the url, refreshing the page let _fnCreateCookie() create a cookie with a # at the end of the filename. So sometimes after a page refresh the cookie settings are "lost".
It seems the RegEx with that kind of url "http://domain.com/xyz.php?a=1&b=2" will cause the same problem.
Sorry but I don't have a good fix right now, because I am not soooo good at regexing ;)
Kind regards,
klex
I went crazy because my cookie-settings disappeared sometimes.
After searching for a "while" I found out why ;)
-> by using ajax / onclick links:
[code]
Foo
[/code]
Now the link puts the # at the end of the url, refreshing the page let _fnCreateCookie() create a cookie with a # at the end of the filename. So sometimes after a page refresh the cookie settings are "lost".
It seems the RegEx with that kind of url "http://domain.com/xyz.php?a=1&b=2" will cause the same problem.
Sorry but I don't have a good fix right now, because I am not soooo good at regexing ;)
Kind regards,
klex
This discussion has been closed.
Replies
I'll take a look at this. Thanks for the report. Can you confirm what version you are using?
Allan
I'm using v. 1.7.1 (28/3/2008).
Thank you a lot! ;)
klex