• Post Reply Bookmark Topic Watch Topic
  • New Topic

referer/ip  RSS feed

 
Miran Cvenkel
Ranch Hand
Posts: 202
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This code returns referer, or ip if there is no referer.
What are the chances that I get wisited by google robot/anything else, and referer comes out as empty string ?
I'm getting empty string into my db.

 
Miran Cvenkel
Ranch Hand
Posts: 202
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ahh, forget it, code works ok, was calling another proc.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!