Recommended: How to set the cookies expiration time asp Response.Cookies(user_name).Expires=Date+1'Specify the cookie storage time to retain COOKIES for one hour Response.Cookies(MyCookie).Expires=(now()+1/24) Response.Cookies(MyCookie).Expires=DateAdd(h,1,Now()) Response.Cookies(CookieName).Expires=DateAdd
When running ASP, I encountered a script timeout problem, and the prompt message was: ActiveServerPages error 'ASP0113 script timeout'.Solution : Modify two:
First place: Open IIS-local computer, click on the website, right-click ---Properties-Home Directory-Configuration-Options--ASP script timeout time, which can be changed to 60-90 seconds or higher;
The second place:
<%
session.abandon
Server.ScriptTimeOut=500
Add these two lines of code at the beginning, and then restart IIS, and it's fine, and it's very fast.
Share: Asp tutorial on how to display data code horizontally % sql=select*fromserrwhereorderbyidasc setrs=server.createobject(adodb.recordset) rs.opensql,conn,1,1 %styletype=text/css !-- body,td,th{ font-size:12px; } -- /style tablewidth=100%align='center' % fori=1tors.recordCount' variable i