|
|
|
ASP - не работает метод POST
|
|||
|---|---|---|---|
|
#18+
Есть форма В ней три колонки чекбоксов Первая - данные из БД Третья - для редактирования По кнопке изменения посылаются на сервер, после чего отражаются во второй колонке Это теоретически На самом деле данные не обновляются Метод GET (соответственно Request.QueryString) функционирует нормально! Но мне нужен POST Я голову сломал В чём может быть дело, кто-нибудь сможет подсказать? Вот фрагмент файла file: list0.asp <%sqlString = "SELECT g_key, a_key, a_name, grants FROM ga_grants"%> <form action="list0.asp" method="post" enctype="text/plain" target="" title=""> <table border=0 cellspacing=0 cellpadding=0 width=0%> <%Set authRs=authConn.execute(sqlString)%> <%do while not authRs.EOF %> <tr> <td><%=authRs("a_name")%></td> <td> <table border=0 cellspacing=0 cellpadding=0 width=0> <tr> <td> <input type=checkbox disabled <%if authRs("grants")="1" then%>checked<%end if%> > </td> <td> <input type=checkbox disabled <%if Request.Form("a_"&authRs("g_key")&"_"&authRs("a_key"))="on" then%> checked<%end if%> > </td> <td> <input name="<%="a_"&authRs("g_key")&"_"&authRs("a_key")%>" type=checkbox <%if authRs("grants")="1" then%>checked<%end if%> > </td> </tr> </table> </td> </tr> <%authRs.movenext%> <%loop %> </table> <input name=btn_form_tree_reset type=reset value="Отменить"> <input type=submit value="Применить"><br> </form> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.05.2005, 15:03 |
|
||
|
|

start [/forum/topic.php?fid=16&msg=33074971&tid=1347678]: |
0ms |
get settings: |
8ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
683ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 225ms |
| total: | 977ms |

| 0 / 0 |
