ASP.NET learning diary

xiaoxiao2021-03-06  42

A lot of learning diaries have been recorded when I start school. Now I still have more useful, so I want to update them, share it with everyone. 1, response.cache.setcacheability (System.Web.httpcacheability.nocatch) makes the page cache, you have to re-get the new page each time, so you can shield the back time. In addition, because session is not stable, there is no more machines. It will disappear when it will have a normal life cycle. (I just guess, etc. After determining the answer) 2, get all the URL or FORM parameters Note: request.QueryString or request.form taken out with your own specific rule; even code: 'Get All querystring parameter information paramallnamelist = request.querystring if paramallnamelist.count> 0 THEN

Dim i As Integer For i = 0 To ParamAllNameList.count - 1 ParamAllValue = ParamAllValue ParamAllNameList.getvalues ​​(ParamAllNameList.keys (i)) (0) .tostring "@" ParamAllName = ParamAllName ParamAllNameList.keys (i) " @ "Next end if" Get all form parameter information paramallnamelist = request.form if paramallnamelist.count> 0 THEN

转载请注明原文地址:https://www.9cbs.com/read-112329.html

New Post(0)