By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,652 Members | 1,473 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,652 IT Pros & Developers. It's quick & easy.

any idea on getting the history url ?

P: n/a
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 page is 'undefined', why ? I even try to get
altenative like window.history[window.history.length - 1],
window.history.current and so on, but all failed to get the previous history
url. I just could get the value of window.history.length, where it is
equivalent t 2.
Anyway I could achieve these throught the asp.net directly? or anyone have
better idea?

regards,
benny ;-)

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.