How to keep track of how many times a link has been clicked?

How to keep track of how many times a link has been clicked or accessed? Do I need to use database for this?

Hi
Proably something like this can work,
1> Have a servlet/bean invoked when the link is linked
2> have a static variable in that servlet/bean wich gets incremented before the control is passed to another desired page..
The problem with this approach is that care has to be taken that the servlet/bean is not re-instalised, in case of which the static variable will also be instalised and the data would be lost.
The best thing is to store the count in the database.
Regards
Arathi.

Similar Messages

  • How many times a program has been run?

    Is there a transaction or table or something that tracks how many times a program has been run?   The number of times the program has been run plus using the programs' attributes for last changed would help me a lot.  We need this for an archiving study to determine of the client has set up the configuration correctly since they went live and have been executing the correct programs.  Thanks and mucho rewards if someone has an answer.  FYI - I have done a forum search and could find nothing on this topic.  I have looked at the tables TADIR and no help, as well as transaction STAT.

    I know ST03N transaction can be used extensively to determine how the programs were executed or even to know who all are using a particular transaction...
    I tried to find if we can find the number of executions of a program through this transaction, I could not find myself...
    try if you can find it through this tcode.
    Phani

  • HT4059 Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? Mr Ignorant

    Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? I need to persuade someone that this really is worthwhile. Mr Ignorant.

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • I have entered the passcode wrong many time my iphone has been disabeld how can i open it

    i have entered the passcode wrong many time my iphone has been disabeld how can i open it

    you will have to wait until you can try again,
    i believe the only way if you don't know the passcode is to factory reset through itunes which you will lose everything from your phone if it hasn't been backed up

  • Finding query access frequency or how many times a query has been executed?

    Dear Experts
    I need to find the total number of access frequency of individual queries that are requested by the users say at a particular time.
    Say there are 20 distinct queries requested in the time difference of 3 hours. All of the 20 queries or some of the queries may be requested for more than 2/3 times at that time by other users. By the way say query Q1 is requested 5 times at that so its query access frequency or how many times this query is executed is 5.
    From where and how can I can find this counting of query access frequency or how many times a query has been executed at particular time or a session?
    Normally we know the there SQL history dynamic performance views or if it can be possible to query the Shared pool library cache for SQL area it may be possible to find the total number of execution time for a query. But how to find that if anyone knows, please help me about this.
    Regards-
    Engr. A.N.M. Bazlur Rashid
    OCP DBA

    That's one of the stats reported by statspack - assuming that your query does sufficient work to meet the thresholds for the standard report. Executions is of course one of the columns of v$sql so you might just wish to sample that yourself. Finally if you are on 11g and the sql you are interested is relatively low resource intensive and you are licensed for AWR then you can use the slightly madly named "colored sql" feature that ensures that a specific statement will always be sampled for AWR.
    Niall Litchfield
    http://www.orawin.info/

  • How to find out how many times an album has been burned to cd

    how to find out how many times an album has been burned to cd

    You can't.
    and the restriction (lwhich limits burning a specific playlist to audio CD) applies only to a specific playlist with DRM songs.

  • How do you find out how many times an app has been downloade

    Wondering where I can find out how many times an app from the app store has been downloaded?

    Are you asking if you can find out how many times an app has been downloaded from the app store? Or you asking if you can find how many times you have downloaded the app? If the former, you could try asking the developer. If the latter, none that I know of.

  • Cycle counting - How many times an item has been counted?

    Hallo Gurus,
    do you know if there's a way to know how many times an item has been counted during the year?
    Thank you very much indeed.
                Mick

    Hi Mick,
    Check the below links. Hope they will help you.
    http://help.sap.com/saphelp_snc70/helpdata/EN/4c/c1b4b55b912a4ae10000000a42189b/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/4d/2b8e3d43ad11d189410000e829fbbd/content.htm
    Regards,
    Shilpa

  • How to keep track of how many records to display in a page.

    Hi All:
    I am using Weblogic 9.2, Web Services Client, and Struts.
    I have a java client in struts that calls a web services.
    The "ID" field contains a Java integer.
    The "First_Name" is a Java String.
    The "Effective_Date" field is a Java date field.
    The web service returns an arrayList of a class called Result.
    Code for Result.java:
    >
    public class Result
    int id;
    String first_Name;
    Date effective_Date;
    public int getId
    return id;
    public void setId(int id)
    this.id=id;
    public String getFirst_Name()
    return first_Name;
    public void setFirst_Name(String first_Name)
    this.first_Name = first_Name;
    public Date getEffective_Date()
         return effective_Date;
    public void setEffective_Date(Date effective_Date)
         this.effective_Date=effective_Date;
    From the arrayList, I displayed the result as the following:
    ID FIRST_NAME EFFECTIVE_DATE
    3 John 9/10/2007
    2 Andrew 1/11/2006
    5 Peter 3/4/2006
    The "ID" header is a link.
    The "First Name" header is a link.
    The "EFFECTIVE_Date" is a link.
    If I clicked on the link "ID", the first time, it will sort the rows in ascending
    order like the following:
    ID FIRST_NAME EFFECTIVE_DATE
    2 Andrew 1/11/2006
    3 John 9/10/2007
    5 Peter 3/4/2006
    If I clicked on the link "ID", the second time, it will sort the rows in descending
    order like the following:
    ID FIRST_NAME EFFECTIVE_DATE
    5 Peter 3/4/2006
    3 John 9/10/2007
    2 Andrew 1/11/2006
    If I clicked on the "First_Name" field the first time, it will sort the rows in
    desceding order.
    If I clicked on the "First_Name" field the second time, it will sort the rows in
    ascending order.
    This applies the same for the "EFFECTIVE_DATE".
    If the arrayList returns 80 records of class Results.java.
    I needed to displayed only the first 50 records for the first page and 30 records for the second page.
    How do I keep track of that so that when I am in the second page, I know to display only record 51 to 80?
    If I have a arrayList that returns 120 records of class Results.java.
    In the first page, it displayed only 50 records.
    In the second page, it displayed only 50 records.
    In the third page, it displayed only 20 records.
    Assuming I am able to sort the rows by ID, FirstName and Effective_Date by using Results.java implementing the
    Java Comparator class. Is it still possible to keep track of how many records displayed in the first page and how many records should
    be dispalyed in the second page?
    Any hint would be greatly appreciate.
    Yours,
    Frustrated.

    Hi,
    Access the table through SM30. It comes blank as standard. Click "New Entries" and make entries for changes to be tracked. For example, whenever an org. unit changes 002 and 003 relationship, you will make entries like:
    01 O 1001 B002 Activate box checked
    01 O 1001 B003 Activate box checked
    Here, 01 is your active plan version, O is org. unit, 1001 is infotype and B002 and B003 are the subtypes. You can also use * for infotype and subtype which means every change will be logged.
    If you then run the report RHCDOC_DISPLAY through SA38, it will pick up all the changes pertaining to B002 and B003 relationship for org. units (in the above example).
    Similarly, you can set up this table for other object types.
    For more information, follow SPRO>Personnel Management>OM>Basic Settings>Activate change documents and go through the documentation for that node. Also, read up the documentation for the report.
    Hope this helps.
    Donnie

  • Counting how many times my app has been opened

    I want to be able to count how many times a user has opened my application, and so every time the application launches, this number is added by one.
    Does anyone know how I store a long-time variable like this that will still need to be available across different runs of the application? I imagine this value would be stored in the application's preference file in Library, but I don't know how to do this.
    Can any of you please lend me some advice/code to achieve this (I am using Objective-C)?
    Thanks in advance,
    Ricky.

    Hi.
    It has been a while - but I finally got around to slapping some code together. I have successfully created and retrieved the value from the preference file, but for some reason, adding 1 to my value each run is not working. It only adds by one after each BUILD. So I have to rebuild it every time I want it to increment. See my code below;
    [NSUserDefaults init];
    int numberOfTimes;
    numberOfTimes = [[NSUserDefaults standardUserDefaults] integerForKey:@"used"];
    numberOfTimes = numberOfTimes++; //It is that that is not working.
    [[NSUserDefaults standardUserDefaults] setInteger:numberOfTimes forKey:@"used"];
    NSLog (@"%d", [[NSUserDefaults standardUserDefaults] integerForKey:@"used"]);
    I can't seem to stop anything wrong, but then again it is late.
    Do any of you see any errors here?
    Thanks,
    Ricky.

  • How many times a transaction has been executed

    Hi All,
    I have to make a list on how many times certain transactions have been exectued last year.
    Does any of you have a idea on how to get this list?
    tried already ST03 and STAT but without satisfying result
    We have R/3 4.6B.
    Regards,
    Rod.

    hi,
    use STAD transaction.

  • Is there an app for the ipad that lets you see how many times an app has been played?

    looking for an app to see hoe many times the appds han been played
    Sincerely,
    Jim

    I think I can refresh my question..
    is there an app that can give me a small database when a specific app has been launch /played?
    Jim

  • How do I get to see the time and how many times some one has been on a certain website on history?

    I look in to show all history and I can see the history of websites but I want to see the time, date, and how many times been in the websites? How can I can get this information?

    I look in to show all history and I can see the history of websites but I want to see the time, date, and how many times been in the websites? How can I can get this information?

  • How to find how many times a program has been executed & by whom

    Can any one help me to find log of program : Details like how many times the program(T-Code) has been executed and by whom(User ID) and when

    Hi,
    sy-uname will give u the name of the person.
    sy-uzeit will give u the time of exection.
    Not sure about number of times of execution.
    <REMOVED BY MODERATOR>
    regards,
    Ramya
    Edited by: Alvaro Tejada Galindo on Mar 19, 2008 4:15 PM

  • Is it possible to see how many times a component has been used in our websites?

    Hi,
    we currently have 3 websites running and I don't know if a component we created is actually in use.
    Is there a way to find this out?
    Thanks,
    Giulio

    Hi kasq,
    thanks for your quick answer...I tried
    path=/apps/mywebsite/components/scrollable/html.jsp
    and the result was
    XPath query
    /jcr:root/apps/upc-cablecom-ch/components/scrollable/html.jsp//*
    Filtering predicates
    Results
    Number of hits: 1
    Time: 0.16 seconds
    /apps/mywebsite/components/scrollable/html.jsp/jcr:content  (html,  json)
    So how do I have to read it? I see 1 number of hits, that I assume it's how many times it's used from other files...but how do I actually see how many times it's used on all our pages?
    Sorry for this newbie question, but only now I'm getting deeper in CQ5
    Thanks,
    G

Maybe you are looking for

  • Windows 7 64bit with ODBC 11.2.0.1.0 - Exception: System.OverflowException

    Hello, Please help. I developed an interface between a CAD and Oracle 10g 32bit on Windows Server 2003. I have no problems with the using of the ODBC driver (Instant Client Package - ODBC (instantclient-odbc-win-x86-64-10.2.0.3.0.zip) on Windows XP 3

  • Driver for Hp cddvdw TS l633n drive.

    I need to find a different driver for the HP cddvdw Ts l633n drive that came in my laptop.  I'm running windows 7 64.  The driver that window provides does not work when trying to burn with nero10.  Does anyone know where I can find an HP driver?  Th

  • Text Styling & Css

    Hello i createad a template and imported it to dreamweaver and then used a front in the css panel window for my navagation bar links. i have a content area which displays pages from an external location. the problem is when i preview my pages,  the c

  • Transport permissions

    Is there any way to transport KM content with permissions? The KM content here refers to the WPC and all itu2019s related content along with the documents ( images, document libraries, etc).

  • PXI-8320 MXI-2 software/h​ardware install problems.

    Attempting to install a PXI-8320 MXI-2 bridge. My PXI chassis is connected to a PC via a PCI-PXI MXI-3 bridge. I have just received a new PC running Windows XP with Labview 7.1. I cannot find the MXI-2 interface in Measurement Explorer. I do get a fi