摘要:
页面使用frameset,session过期后,各个子页面退出解决方案:Response.Redirect("<script>top.location.href='login.aspx'</script>"); 阅读全文
posted @ 2012-10-24 15:34
无头咸鱼
阅读(295)
评论(0)
推荐(0)
摘要:
方法一:asp.net Session的默认时间设置是20分钟,即超过20分钟后,服务器会自动放弃Session信息.当我们在asp.net程序中打开webconfig的时候,可以看到一段如下的代码:Asp.net程序代码:<sessionStatemode="InProc"stateConnectionString="tcpip=127.0.0.1:42424"sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"cookieless="f 阅读全文
posted @ 2012-10-24 15:32
无头咸鱼
阅读(346)
评论(0)
推荐(0)
摘要:
以前没用过锚点,这次用锚点顺便记录一下吧同页锚点:<a name="m1">这可以定义一个锚点</a>然后使用这可以这个跳到锚点<a href="#m1">这可以跳到锚点1</a>不同页锚点:a页定义一个锚点<a name="m1">a页锚点</a>b页的一个连接向a页的锚点跳转<a href="a.html#m1">跳到a页锚点</a> 阅读全文
posted @ 2012-10-24 15:16
无头咸鱼
阅读(275)
评论(0)
推荐(0)

浙公网安备 33010602011771号