473,461 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

history length problem

Hi there,
We are using history.go(integer) to go back to the certain page
directly. Because there are some pages interaction in between. For
example, starting from page 1 to page 2. From page 2, it will reload
sometime, or go to page 3 and then go back to page 2 again. If we use
history.back, it will only go back to the previous page. So, we have
to use history.go in order to go back to page 1 correctly.

But there is some problem with the history, sometime the history
will gone. For example, the history.length should record 10 pages,
but, it will show less than that sometime, likes 5 pages. And we found
out the pages before that are missing. Due to this, we can't go back
to the page 1 correctly as the pages had missing. We had figure out
this might cause by the size of that page that loaded. If the page
size is more, it will need more space to record to the history and the
pages that keep will be lesser.

We wish to know is there anyway we can change the setting to
enlarge the history size to keep more pages? We believe the setting
should be on the browser. But don't know where. We are using Internet
Explorer 6.0.

Thanks for the help in advance.

Best Regards,
Patricia

Oct 2 '06 #1
3 3842
pe******@yahoo.com wrote:
Hi there,
We are using history.go(integer) to go back to the certain page
directly. Because there are some pages interaction in between. For
example, starting from page 1 to page 2. From page 2, it will reload
sometime, or go to page 3 and then go back to page 2 again. If we use
history.back, it will only go back to the previous page. So, we have
to use history.go in order to go back to page 1 correctly.

But there is some problem with the history, sometime the history
will gone. For example, the history.length should record 10 pages,
but, it will show less than that sometime, likes 5 pages. And we found
out the pages before that are missing. Due to this, we can't go back
to the page 1 correctly as the pages had missing. We had figure out
this might cause by the size of that page that loaded. If the page
size is more, it will need more space to record to the history and the
pages that keep will be lesser.

We wish to know is there anyway we can change the setting to
enlarge the history size to keep more pages? We believe the setting
should be on the browser. But don't know where. We are using Internet
Explorer 6.0.

Thanks for the help in advance.
Do not try to use the history object to back to any particular page, it
is extremely unreliable - you can't be certain of how the user
navigated to the current page (as you've discovered).
--
Rob

Oct 2 '06 #2
Hi there,
Is there any other way to go back to the page more accurately?
We are using VB.NET web application, we know "response.redirect"
can work fine but we have a problem that the pages in between are
actually from 2 different web project. For example, page 1 from web
project A go to page 2 from web project B. If we use
"reponse.redirect" without passing the http://, the page cannot be
found.
Thanks for your help again.

Best Regards,
Pat
RobG wrote:
pe******@yahoo.com wrote:
Hi there,
We are using history.go(integer) to go back to the certain page
directly. Because there are some pages interaction in between. For
example, starting from page 1 to page 2. From page 2, it will reload
sometime, or go to page 3 and then go back to page 2 again. If we use
history.back, it will only go back to the previous page. So, we have
to use history.go in order to go back to page 1 correctly.

But there is some problem with the history, sometime the history
will gone. For example, the history.length should record 10 pages,
but, it will show less than that sometime, likes 5 pages. And we found
out the pages before that are missing. Due to this, we can't go back
to the page 1 correctly as the pages had missing. We had figure out
this might cause by the size of that page that loaded. If the page
size is more, it will need more space to record to the history and the
pages that keep will be lesser.

We wish to know is there anyway we can change the setting to
enlarge the history size to keep more pages? We believe the setting
should be on the browser. But don't know where. We are using Internet
Explorer 6.0.

Thanks for the help in advance.

Do not try to use the history object to back to any particular page, it
is extremely unreliable - you can't be certain of how the user
navigated to the current page (as you've discovered).
--
Rob
Oct 3 '06 #3

pe******@yahoo.com wrote:
Hi there,
Please don't top-post here, reply below a trimmed quote of what you are
replying to.
Is there any other way to go back to the page more accurately?
For some definition of "back", yes.

One method is to maintain 'bread crumbs' that indicate where in the
navigation model a user is at, and therefore they can jump back to some
earlier node in the tree. Another is to provide a navigation menu that
only provides suitable navigation links. JavaScript might be used to
save a server-side redirection, it certainly shoudn't be relied upon
entirely.

We are using VB.NET web application, we know "response.redirect"
can work fine but we have a problem that the pages in between are
actually from 2 different web project. For example, page 1 from web
project A go to page 2 from web project B. If we use
"reponse.redirect" without passing the http://, the page cannot be
found.
If you think it's a VB issue, then discuss it in a VB, .NET or IE
forum, not here. How you get the page into the browser is up to you -
discuss here what you get at the client, not the server.
--
Rob

Oct 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Peter Bremer | last post by:
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the...
0
by: benny | last post by:
Hi, I tried the javascript method and using the Page.RegisterStartupScript to get the history url :- <script> document.write(window.history.previous) </script> but the result shown on the...
12
by: |-|erc | last post by:
when a user clicks back to get to my site, I want it to run a javascript function. can you detect when the FORWARD button is greyed out? Herc -- I call3d this fugly and I'm proud...
10
by: pmelanso | last post by:
Hello, How can I tell if there is a page to go back to in the history or not??? Same with forward??? say something like/// if (there is a page to go back to ) { // DO something }else { }
20
by: Dan | last post by:
Is there a way to obtain the last page visited? I don't want to go to that page, I just want to be able find out what page they came from, the url of that page. Is this possible?
3
by: Olaf Rabbachin | last post by:
Hi *, ich erzeuge zur Laufzeit in einer ASP-Tabelle Tabellenzellen. Im Großteil dieser Zellen befinden sich Checkboxes. Per JS ändere ich beim Click auf eine solche Zelle oder deren Checkbox die...
3
by: Niall | last post by:
When I say 'last', I mean (eg.) the 100th item in a 100-item history list, *not* the immediately previous one! The problem is, the history.go() method only allows *relative* movement through...
1
by: George | last post by:
Dear All, I am trying to write a simple script that prints out all the URLs in the history of the current window. I wrote this code: <html> <head> <title>Example Page</title> <script...
5
hsriat
by: hsriat | last post by:
I add a link on the onload event of the body. The link is displayed as BACK if the page is opened from another page, but if the page is opened in a new window, its displayed as CLOSE Here's the...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.