我们如何通过后退按钮将用户从一页重定向到另一页 [英] how can we redirect user from one page to another through back button

查看:81
本文介绍了我们如何通过后退按钮将用户从一页重定向到另一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将ASP.NET 3.5与AJAX结合使用.我有2页,Default.aspx和Default2.aspx.我在Default.aspx上执行了一些操作,并将用户重定向到Default2.aspx,当我单击Default2.aspx上的后退按钮以返回时,我想要与我以前完​​成的所有操作相同的default.aspx.
但是现在它显示的是旧页面.

I''m using ASP.NET 3.5 with AJAX . I have 2 pages, Default.aspx and Default2.aspx. There are some operation which i performed on Default.aspx and redirect the user to Default2.aspx , when I click the back button on Default2.aspx to return I want same default.aspx with all the operation which i done previously.
but now it shows old page.

推荐答案

看看如何维护AJAX历史记录以及如何使用它:
Microsoft视频教程:ASP.NET Ajax历史简介 [ ^ ]

^ ]描述AJAX历史记录的实现.
Have a look at how AJAX history is maintained and the way to use it:
Microsoft Video tutorial: Introduction to ASP.NET Ajax History[^]

There are lots of articles now on web[^] describing the AJAX history implementation.


这篇关于我们如何通过后退按钮将用户从一页重定向到另一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆