Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 29th, 2008, 09:06 AM
Authorized User
 
Join Date: Nov 2007
Location: Allahabad, UP, India.
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to maintain history of last ten visited page i

How to maintain history of last ten visited page in textbox?

Hi all, can any one try to solve the problem How to maintain history of last ten visited page or any text the user input in a textbox..

I have to show last ten visited pages history on a textbox, when user try ot enter any new input that textbox. How it is to be done.. It displays visited pages like a listbox on mouseover on that text box..

Is there is any way to done this by java script or ajax can any one help me ....
  #2 (permalink)  
Old February 29th, 2008, 01:27 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I found that in Firebug I was able to put in just "history" in the console command line and it spit out an array of URLs. For example:

["http://p2p.wrox.com/topic.asp?TOPIC_ID=69424","http://p2p.wrox.com/"]

I thought that maybe this client object might allow you to get at those URLs, but it doesn't look to be the case. You can use the history object to move forward and back, but it doesn't seem to allow you to get at the contents of the array of URLs within it.

You may need to capture the URLs at the server side and store them in a user session var and then display them in your list box.

-Peter
peterlanoie.blog


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Chapter ten JPSpan Creed666 BOOK: Professional Ajax ISBN: 978-0-471-77778-6 8 April 18th, 2014 01:37 AM
a:visited link clearing vferratusco CSS Cascading Style Sheets 8 June 16th, 2010 11:20 AM
Visited link Issue mat41 CSS Cascading Style Sheets 10 May 14th, 2008 07:42 PM
Chapter 3 - a:visited not working VeganMan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 April 3rd, 2008 12:31 AM
get first ten records MunishBhatia SQL Server 2005 10 December 17th, 2007 11:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.