Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to post  RSS feed

 
Santosh Pasupuleti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to post the code if it has Cookie mentioned in it. How do I overcome this issue?
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem isn't just cookie, it's get + Cookie(). Did you read the message carefully? It should say "just replace this phrase with something else like getKookie()."
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12134
255
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean UBB doesnt allow you to post getCookie()?

Hit the button on this post (which will quote my post) to see how I got around it.

But I will admit that Jim's solution is easier - just replace the C with a K.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Andrew Monkhouse:

But I will admit that Jim's solution is easier - just replace the C with a K.


But then you get 12 posts telling you that your problem is that you mispelled things. using the HTML entity is a much better solution. The entity o is very useful (small o) for getting the forum to accept phrases such as onclick.
[ January 04, 2006: Message edited by: Bear Bibeault ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!