Discussion:
關於session及web.config的兩個小問題
(时间太久无法回复)
MingChih Tsai
2006-09-13 05:38:21 UTC
Permalink
²Ä1­Ó°ÝÃD :
Šbweb.configÀÉžÌ
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="60"
/>
¥i¥H³]©wsessionªº®É¶¡, €£¹LŠn¹³¹L20€À«á, ÁÙ¬Otimeout€F,œÐ°Ý€@€UŠUŠì, Šbmachine.config,
web.config, €ÎpagežÌ³£
¥i¥H³]©wsessionªº®É¶¡,šº³o€TªÌªºÃö«Y¬OŠpŠó?

²Ä2­Ó°ÝÃD :
IISžÌÀ³¥Îµ{Š¡A©MÀ³¥Îµ{Š¡BžÌ³£Š³€@­Óweb.configªºÀÉ®×, À³¥Îµ{Š¡B¥Ø¿ýŠbÀ³¥Îµ{Š¡AžÌ­±,
šºÀ³¥Îµ{Š¡B·|€£·|šüšìAªºweb.config©ÒŒvÅTšì, ¥H€ÎŠpŠóÁקK, ÁÂÁ !!
lyman
2006-09-13 06:31:16 UTC
Permalink
²Ä1­Ó°ÝÃD,À³žÓ¬OŠ]¬°ŠbIIS€€,sessionªº®É¶¡³]¬°€F20€ÀÄÁ,©Ò¥H€~·|20€ÀÄÁ¹LŽÁ.
Post by MingChih Tsai
Šbweb.configÀÉžÌ
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="60"
/>
web.config, €ÎpagežÌ³£
¥i¥H³]©wsessionªº®É¶¡,šº³o€TªÌªºÃö«Y¬OŠpŠó?
šºÀ³¥Îµ{Š¡B·|€£·|šüšìAªºweb.config©ÒŒvÅTšì, ¥H€ÎŠpŠóÁקK, ÁÂÁ !!
璉璉
2006-09-13 06:47:02 UTC
Permalink
ÂÐŒgÃö«Y

machine.config -> web.config -> €l¥Ø¿ýªº web.config -> page
©ó news:%2361k44v1GHA.324%40TK2MSFTNGP05.phx.gbl µoªí
²Ä1­Ó°ÝÃD,À³žÓ¬OŠ]¬°ŠbIIS€€,sessionªº®É¶¡³]¬°€F20€ÀÄÁ,©Ò¥H€~·|20€ÀÄÁ¹LŽÁ.
Post by MingChih Tsai
Šbweb.configÀÉžÌ
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="60"
/>
web.config, €ÎpagežÌ³£
¥i¥H³]©wsessionªº®É¶¡,šº³o€TªÌªºÃö«Y¬OŠpŠó?
šºÀ³¥Îµ{Š¡B·|€£·|šüšìAªºweb.config©ÒŒvÅTšì, ¥H€ÎŠpŠóÁקK, ÁÂÁ !!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.3 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.twbbs.org/wwwmap.htm
¬y°ìšŸ¬x/°Ï°ì€ôžê·œ/®}ª@ºô/ªŽºÀ¹Ï/»y­µ³q°T €å³¹»Pµ{Š¡
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
·L³nµ{Š¡³]­p·s°Qœ×°Ï MSDN §Þ³Nœ×ŸÂ¡Aºô€ÍŠ^ÂЫá§Y®É²°T¡B¹q€l¶l¥ó³qªŸ¡G
http://forums.microsoft.com/msdn-cht/default.aspx?siteid=14
--
ASPNET News Reader http://tlcheng.twbbs.org/News/Reader.aspx
RSS 2.0 http://tlcheng.twbbs.org/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet
MingChih Tsai
2006-09-13 07:26:16 UTC
Permalink
€£Šn·N«ä, ŠAœÐ°Ý€@€U,

šºsession timeŠbIISžÌ, €S©M³ožÌªºÂÐŒgÃö«Y€S¬OŠpŠóªí¥Ü?ÁÂÁ !!
Post by 璉璉
ÂÐŒgÃö«Y
machine.config -> web.config -> €l¥Ø¿ýªº web.config -> page
©ó news:%2361k44v1GHA.324%40TK2MSFTNGP05.phx.gbl µoªí
²Ä1­Ó°ÝÃD,À³žÓ¬OŠ]¬°ŠbIIS€€,sessionªº®É¶¡³]¬°€F20€ÀÄÁ,©Ò¥H€~·|20€ÀÄÁ¹LŽÁ.
Post by MingChih Tsai
Šbweb.configÀÉžÌ
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="60"
/>
web.config, €ÎpagežÌ³£
¥i¥H³]©wsessionªº®É¶¡,šº³o€TªÌªºÃö«Y¬OŠpŠó?
šºÀ³¥Îµ{Š¡B·|€£·|šüšìAªºweb.config©ÒŒvÅTšì, ¥H€ÎŠpŠóÁקK, ÁÂÁ !!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.3 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.twbbs.org/wwwmap.htm
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
·L³nµ{Š¡³]­p·s°Qœ×°Ï MSDN §Þ³Nœ×ŸÂ¡Aºô€ÍŠ^ÂЫá§Y®É²°T¡B¹q€l¶l¥ó³qªŸ¡G
http://forums.microsoft.com/msdn-cht/default.aspx?siteid=14
--
ASPNET News Reader http://tlcheng.twbbs.org/News/Reader.aspx
RSS 2.0
http://tlcheng.twbbs.org/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet
璉璉
2006-09-13 07:34:02 UTC
Permalink
IIS žò ASP.NET ³]©wšSŠ³ÂÐŒgÃö«Y¡A®É¶¡¥ýšìªº¥ýµ²§ô¡C

©Ò¥H«e­±¥uŒg ASP.NET ªºÃö«Y¡C
©ó news:%23fa4lXw1GHA.328%40TK2MSFTNGP06.phx.gbl µoªí
šºsession timeŠbIISžÌ, €S©M³ožÌªºÂÐŒgÃö«Y€S¬OŠpŠóªí¥Ü?ÁÂÁ !!
Post by 璉璉
ÂÐŒgÃö«Y
machine.config -> web.config -> €l¥Ø¿ýªº web.config -> page
©ó news:%2361k44v1GHA.324%40TK2MSFTNGP05.phx.gbl µoªí
²Ä1­Ó°ÝÃD,À³žÓ¬OŠ]¬°ŠbIIS€€,sessionªº®É¶¡³]¬°€F20€ÀÄÁ,©Ò¥H€~·|20€ÀÄÁ¹LŽÁ.
Post by MingChih Tsai
Šbweb.configÀÉžÌ
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="60"
/>
web.config, €ÎpagežÌ³£
¥i¥H³]©wsessionªº®É¶¡,šº³o€TªÌªºÃö«Y¬OŠpŠó?
šºÀ³¥Îµ{Š¡B·|€£·|šüšìAªºweb.config©ÒŒvÅTšì, ¥H€ÎŠpŠóÁקK, ÁÂÁ !!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.3 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.twbbs.org/wwwmap.htm
¬y°ìšŸ¬x/°Ï°ì€ôžê·œ/®}ª@ºô/ªŽºÀ¹Ï/»y­µ³q°T €å³¹»Pµ{Š¡
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
·L³nµ{Š¡³]­p·s°Qœ×°Ï MSDN §Þ³Nœ×ŸÂ¡Aºô€ÍŠ^ÂЫá§Y®É²°T¡B¹q€l¶l¥ó³qªŸ¡G
http://forums.microsoft.com/msdn-cht/default.aspx?siteid=14
--
ASPNET News Reader http://tlcheng.twbbs.org/News/Reader.aspx
RSS 2.0 http://tlcheng.twbbs.org/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet
继续阅读narkive:
Loading...