Results 1 to 3 of 3

Thread: Regarding storing visited urls

  1. #1
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Regarding storing visited urls

    Hi to all!

    I would like to store all visited URLs, visited by a user on each time he/she come to our website.

    at the end we will show him./her the viisted urls he has done already in a list.

    can this be done using cookie using Javascrtip?

    can any one help me to find a readymade script or some sort of code?

    Thanks in advance.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Theoritically you can use cookies for this job but cookies has lots of disadvantages like the user can remove cookies and you end with erroneous result or user doesn't allow cookie at all. The user can set their browser in a manner that it allows JavaScript but not accept any cookies.

    I feel it is better if you look for a server-side base solution which can be hooked to the user session simply. If you are not planning to store these links for later usage you can do it using session variables itself.

  3. #3
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank friend for the reply!

    this is our site:
    http://www.kshitij.com/

    we don't use database. we just want where ever link a visitor visit from here in a active session only store them and show him at the end when he will quite from our site.

    so please advice which one will be better.

    do you have any cookie script or others, which can solve the purpose?

    Its very urgent. I need some help definitely

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •