摘要:
1、在web.config文件中有这一段内容:
<authentication mode="forms">
<forms name=".aspxuserdemo" loginurl="login.aspx" protection="all" timeout="60"......
摘要:
call the event viewer control by the tag prefix colon and the class name of eventlog.cs. note that we set a property from the query string in the code behind file.
display vw_eventlog.aspx fil......
自定义控件的使用二----DBGlobal.cs部分
using system;
namespace com.oztime.workshop.codebase.db
{
/// <summary>
/// summary description for dbglobal.
/// </summary>
public class dbglobal
{
public dbglobal()
{
//
// todo: add constructor logic here
//
}
public static string dsn="dsn";
/*--------------以下内容与用户类相关----------*/
pu...
下一页 摘要:
asp.net 提供了三种存放 session的方式。
1 inproc
2 state server
3 sql server
第一种是我们经常用的,第2中就是使用一个名为 state server 的机器用它的内存来存放其他机器的session 状态,其实,我们还可以在 sql server 里面来存放和取得 session。是不是第一次听说。
下面讲述实现过程。
找到......