|
Стеллецкий В. Мои разработки |
Памятка по написанию ASP-программ
Внимание! Для работы использовались IIS 3.0. и IIS 5.0
<table> <tr><td><b>Переменная</b></td><td><b>Значение</b></td></tr> <% For each name In Request.ServerVariables %> <tr><td valign=TOP> <% = name %> </td><td> <% = request.ServerVariables(name) %> </td></tr> <% Next %> </table>
<%
Function get_cook(p)
dim i,j,s
s=" " & Request.ServerVariables("HTTP_COOKIE") & ";"
i=instr(1,s," " & p & "=")
if i>=1 then
i=i+len(p)+2
j=instr(i,s,";")
if j>1 then
get_cook=mid(s,i,j-i)
end if
end if
end Function
%>