The Artima Developer Community
Sponsored Link

Java Answers Forum
Page Tracking with Sessions

2 replies on 1 page. Most recent reply: Aug 29, 2002 8:20 AM by Senthoorkumaran Punniamoorthy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Mike Murray

Posts: 5
Nickname: mikey
Registered: Aug, 2002

Page Tracking with Sessions Posted: Aug 22, 2002 7:56 AM
Reply to this message Reply
Advertisement
Hi I've just got this session example running on my server where it counts the number of connections to the server. Now what i want to do is relate a number to the page that people are currently viewing. So say i have a list of my webpages and in column format i can see how many people are visiting a certain page at that particular time. Can i do this with sessions only or do i have to work with a database to store all this information in?

Thanks for your help.


Mike Murray

Posts: 5
Nickname: mikey
Registered: Aug, 2002

Re: Page Tracking with Sessions Posted: Aug 26, 2002 7:34 AM
Reply to this message Reply
Can nobody help me out there???? Please!

> Hi I've just got this session example running on my
> server where it counts the number of connections to
> the server. Now what i want to do is relate a number
> to the page that people are currently viewing. So say
> i have a list of my webpages and in column format i
> can see how many people are visiting a certain page
> at that particular time. Can i do this with sessions
> only or do i have to work with a database to store
> all this information in?
>
> Thanks for your help.

Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: Page Tracking with Sessions Posted: Aug 29, 2002 8:20 AM
Reply to this message Reply
I don't think it is possible to use only session and do the task. You might want to consider a database solution.

Total number of visiters per page should be able to obtain using static variable updated in each page. However I don't think it is possible to have concurrent user calculation for each page with session...

Flat View: This topic has 2 replies on 1 page
Topic: Password Encryption Previous Topic   Next Topic Topic: How to Convert OutputStream() into String

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use