Currently working on a web form that allows a user to manually edit specific CSS rules (through jquery).
What I need to do is persist those specific (around 4-5) rules for later use.
By later use, I mean that users/customers will visit a website that has an "AccessID" in the URL.
Based on the AccessID, the CSS rules should differ based on what was chosen by the page designer.
My idea is to take the 4-5 values that make up the CSS rules and store them into the database along with the AccessID.
When the specific website URL is accessed, query those CSS rules and load them into the .css file.
Is this at all possible? Is it a risky process to attempt? Is there a better way?
The CSS rules have to persist as long as a user continues to have an account and run their specific website with AccessID.
I've read some SO questions regarding cookies, but I'm not sure how that plays a factor in this situation.
Please let me know if you have any suggestions. Thank you.