历史-1 [英] history -1

查看:62
本文介绍了历史-1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要制作一个response.redirect,它会让用户在登录后返回2页




如何将其实现为响应.redirect?


谢谢

I need to make a response.redirect that will take the user back 2 pages
after they login.

How can i implement this into response.redirect ?

Thanks

推荐答案

Jeff写道:
我需要制作一个response.redirect,它会在用户登录后将其带回2页。

如何将其实现为response.redirect?
I need to make a response.redirect that will take the user back 2
pages after they login.

How can i implement this into response.redirect ?



如果不将页面保存在隐藏字段中,则无法完成。服务器

对客户历史一无所知。


-

Microsoft MVP - ASP / ASP.NET
请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以我

不经常检查它。如果你必须离线回复,那么删除

没有垃圾邮件


It can''t be done without saving the pages in a hidden field. The server
knows nothing about the client history.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don''t check it very often. If you must reply off-line, then remove the
"NO SPAM"


所以没有办法登录页面在某个地方说像


过去= history.go(-2)


然后有<%response.redirect"& past& ;"%>


或者,如果我有登录页面,在登录好后,转到只有

有历史记录的页面。 go(-3)


" Bob Barrows [MVP]" <再****** @ NOyahoo.SPAMcom>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP02.phx.gbl ...
So there is no way to have on the login page somewhere that says like

past = history.go(-2)

then have <% response.redirect "&past&"%>

or, could i have the login page, after a good login, go to a page that just
has the history.go(-3)


"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Jeff写道:
我需要创建一个response.redirect,它会在用户登录后将其带回2页。

我如何将其实现为response.redirect ?
I need to make a response.redirect that will take the user back 2
pages after they login.

How can i implement this into response.redirect ?


如果不将页面保存在隐藏字段中,则无法完成。服务器
对客户历史一无所知。

- 微软MVP - ASP / ASP.NET
请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以我不经常检查它。如果您必须离线回复,请删除
NO SPAM


It can''t be done without saving the pages in a hidden field. The server
knows nothing about the client history.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don''t check it very often. If you must reply off-line, then remove the
"NO SPAM"



必须是客户端重定向

在你的例程结束时创建一个javascript函数来处理这个

<%

如果代码有效,那么

%> ;

< script>

{

window.history.go(-2);

}

< / script>

<%

else

结束如果

%>


" Jeff" < GI ***** @ adelphia.net>在留言中写道

新闻:S8 ****************************** @ adelphia.com .. 。
Has to be a client side redirect
At the end of your routine create a javascript function to handle this
<%
If code works then
%>
<script>
{
window.history.go(-2);
}
</script>
<%
else
end if
%>

"Jeff" <gi*****@adelphia.net> wrote in message
news:S8******************************@adelphia.com ...
我需要做一个response.redirect,它会在用户登录后将其带回2页

如何将其实现为response.redirect ?

谢谢
I need to make a response.redirect that will take the user back 2 pages
after they login.

How can i implement this into response.redirect ?

Thanks



这篇关于历史-1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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