惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - 简约旋律

如何做一名优秀的部门经理 viewstate 的工作原理 Repeater/DataList分页方法 char与varchar的区别 堂堂正正做人 认认真真做事 笨鸟 节约时间 ASP.NET中的FILE对象总结 当梦想照进现实 (C#) C#中的@符号 数据库事务 读写删文件代码 什么是SQL注入及SQL注入工具 void的使用 导航树扩展 按F5运行时出现目录清单 经典JS收藏 GET POST的使用 关于request的一个问题
一些代码
简约旋律 · 2007-05-20 · via 博客园 - 简约旋律

 //读取服务器信息
    protected void Button1_Click(object sender, EventArgs e)
    
{
        Response.Write(
"当前网页虚拟路径是:" + Request.ServerVariables["url"]);
        Response.Write(
"<br>当前网页虚拟路径是:" + Request.RawUrl);
        Response.Write(
"<br>实际路径"+Request.ServerVariables["path_translated"]);
        Response.Write(
"<br>实际路径"+Request.PhysicalPath);
        Response.Write(
"<br>服务器名:" + Request.ServerVariables["server_name"]);
        Response.Write(
"<br>服务器IP" + Request.UserHostAddress);

    }

    
//读取客户端信息
    protected void Button2_Click(object sender, EventArgs e)
    
{
        Response.Write(
"<br>是否支持背景音乐:"+Request.Browser.BackgroundSounds);
        Response.Write(
"<br>是否支持框架:"+Request.Browser.Frames);
        Response.Write(
"<br>客户用的是系统平台:"+Request.Browser.Platform);
    }



  
protected void Button3_Click(object sender, EventArgs e)
    
{//写入cookie
        HttpCookie nc = new HttpCookie("newcookie");
        nc.Value[name] 
= "天轰川";
        nc.Value[age] 
= "27";
        nc.Value[dt] 
= DateTime.Now.ToString();
        Response.Cookies.Add(nc);
        Response.Write(
"Cookie写入成功!");



<siteMap>
  
<siteMapNode title="Home" description="Home" url="~/home.aspx">
    
<siteMapNode title="Products" description="Out products" url="~/Products.aspx">
      
<siteMapNode title="Hardware" description="Hardware we offer" url="~/Hardware.aspx"/>
      
<siteMapNode title="Software" description="Software for sale" url="~/Software.aspx"/>

    
</siteMapNode>
    
<siteMapNode title="Services" description="Services we offer" url="~/Services.aspx">
      
<siteMapNode title="Training" description="Training" url="~/Training.aspx"/>
      
<siteMapNode title="Consulting" description="Consulting" url="~/Consulting.aspx"/>
      
<siteMapNode title="Support" description="Support" url="~/Support.aspx"/>
    
</siteMapNode>
  
</siteMapNode>
</siteMap>