请解释一下该代码 [英] please explain that code

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

问题描述

任何人都可以解释休闲代码的功能吗?


我不明白代码和平在做什么.什么是返回网址

can anyone explain the fucntionality of the fallowing code??


i am not able to understand what that peace of code is doing. what is return url

string returnUrl = Request.QueryString["ReturnUrl"];
                if (returnUrl == null) returnUrl = "/";
                
                Response.Redirect(returnUrl);

推荐答案

您之前也发布了相同的问题..

http://www.codeproject.com/Answers/255284/what-is- the-returnurl-mean#answer1 [ ^ ]

该帖子中提供了解决方案...您不了解的是什么...
You posted the same question earlier too..

http://www.codeproject.com/Answers/255284/what-is-the-returnurl-mean#answer1[^]

The solution was provided in that post...what is it that you don''t understand...


这篇关于请解释一下该代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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