How would I notify the user if a cookie atempted to be created was rejected?
Announcement
Collapse
No announcement yet.
notify if cookies are rejected
Collapse
X
-
checking whether the cookie is set is the way to go , but you need to refresh the page before you check for a cookie as the cookie will not be usable until the next page view, this is more awkward than it sounds , since if a cookie can not be set its easy to end up in a useless loop looking for non-existant cookies.
you will probably need to use a session in conjunction with your cookie checker as session data is available immediately and sessions can be used even if cookies are disabled.resistance is...
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
Comment
Comment