intTypePromotion=1

Web to py enterprise web framework - p 21

Chia sẻ: Yukogaru Yukogaru | Ngày: | Loại File: PDF | Số trang:10

0
58
lượt xem
4
download

Web to py enterprise web framework - p 21

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

FORM 185 Hidden fields When the above form object is serialized by {{=form}}, and because of the previous call to the accepts method, it now looks like this: 1 2 3 4 5 6 7 your name: Notice the presence of two hidden fields: " formkey" and " formname". Their presence is triggered by the call to accepts and they play two different and important roles: • The hidden field called " formkey" is a one-time token that web2py uses to prevent double submission of forms. The value of this key is generated when the form is serialized and stored in...

Chủ đề:
Lưu

Nội dung Text: Web to py enterprise web framework - p 21

ADSENSE
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2