View Single Post
Old 12-19-2012, 06:18 PM   PM User | #3
arava
New to the CF scene

 
Join Date: Dec 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
arava is an unknown quantity at this point
Thanks.

I used Button and its working fine. I disable the button and change the text to subscribed/unsubscribed. The problem is that after the user refresh the page, the button enabled and show the text Subscribe/Unsubscribe accordingly. when the user click the button no action takes place and change the text with text from previous action.

ex.
user login.
click Subscribe button from the article page.
- database action done
- button text change to Subscribed, disabled
User refresh the page.
click Unsubscribe button
- no db action takes place
- button text change to Subscribed, disabled

If the browser closed and reopen then the user can unsubscribe. To subscribe again, close and reopen the browser.

how to fix this?
arava is offline   Reply With Quote