iCookieDuration can't be set as a parameter
iCookieDuration can't be set as a parameter
![inventive](https://secure.gravatar.com/avatar/51068a91064e04c5a9cd6501a15ad396/?default=https%3A%2F%2Fvanillicon.com%2F51068a91064e04c5a9cd6501a15ad396_200.png&rating=g&size=120)
Something like this
[code]
if ( typeof oInit.iCookieDuration != 'undefined' )
{
oSettings.iCookieDuration = oInit.iCookieDuration;
}
[/code]
is missing in the constructor if you like to set the parameter 'iCookieDuration' dynamically
[code]
if ( typeof oInit.iCookieDuration != 'undefined' )
{
oSettings.iCookieDuration = oInit.iCookieDuration;
}
[/code]
is missing in the constructor if you like to set the parameter 'iCookieDuration' dynamically
This discussion has been closed.
Replies
Very good point! I wonder if I accidentally removed it at some point... It will certainly be back in the next release, and your fix is ideal until that fix is out :-)
Thanks for letting me know about this.
Regards,
Allan