Cookie and/or Session variable - Posted (1444 Views)
Junior Member
TastyNutz
Posts: 251
251
I have a snowfall script that some users dislike. I want to have a checkbox to allow users to turn the snowfall on or off. And I want the choice to hold for all pages, and be remembered when users return later.
Can anyone help?
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Etymon
Posts: 2396
2396
You know when you edit your profile and are given this choice ... View Signatures in Posts?: ... ?
I would make a new option in the edit member profile area by copying that "View Signatures in Posts?:" code as it is applied throughout the forum already. I would rework the copy to cater to your snowfall script. Then I would apply the new variable where ever you present the snowfall script in your site.
Posted
Junior Member
TastyNutz
Posts: 251
251
I considered that, but I was really hoping to avoid modifying the database.
Posted
Advanced Member
Etymon
Posts: 2396
2396
Well, do a search through the code for Response.Cookies to see how cookies are done and then do a duplicate of that code.
 
You Must enter a message