This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes jsp hits counter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp hits counter" Watch "jsp hits counter" New topic

jsp hits counter

ritesh srivastav

Joined: Nov 30, 2012
Posts: 8
i have write a code for unique hits counter on website but its not work please help

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60752

In the future please UseCodeTags (I added them for you) and read ItDoesntWorkIsUseless.

That said, why the check for a new session? what does the session have to do with anything?

And please be aware that putting Java code in a JSP is something that's been obsolete for 12 years. You should not be writing JSPs with Java code within them any longer.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: jsp hits counter
Similar Threads
Can two different web application share a variable
Hit Counter
What wrong?
jsp project
Invisible Website Hit Counter