|
Тема
|
Request.Form vs Request.Binary.Read
|
|
Автор | psy (Нерегистриран) |
Публикувано | 17.06.03 11:33 |
|
hi guys,
izpolzvam v edno prolojenie slednoto neshto
strVar = Request.Form("field")
po nadolu vikam
binData = Request.BinaryRead(data)
sega triabva da predam kato parametar na funktion strVar
i tuk neshtata gurmiat zashtoto spored MS
====================
Request object, ASP 0206 (0x80004005)
Cannot call BinaryRead after using Request.Form collection
=======================
kato se opitam da izpolzvam BinaryRead predi Request.Form puk dava obratnoto na saobshtenieto
Cannot using Request.Form collection after using BinaryRead
ima li nachin da se prevazmogne tova neshto ili ...?
| |
Тема
|
reshenieto e s Request.Querystring
[re: psy]
|
|
Автор | psy (Нерегистриран) |
Публикувано | 17.06.03 11:41 |
|
taka ne garmi
otchasti go razreshih problema
no ako niakoi ima mnenie po vaprosa neka go postne
| |
Тема
|
Предпочитах да дам парчета код
[re: psy]
|
|
Автор |
jamie (Bad to the bone) |
Публикувано | 17.06.03 15:39 |
|
вместо цитати, но :
"The BinaryRead method retrieves data sent to the server from the client as part of a POST request. This method retrieves the data from the client and stores it in a SafeArray. A SafeArray is an array that contains information about the number of dimensions and the bounds of its dimensions.
"
"The BinaryRead method is used to read the raw data sent by the client as part of a POST request. This method is used for low-level access to this data, as opposed to, for example, using the Request.Form collection to view form data sent in a POST request. Once you have called BinaryRead, referring to any variable in the Request.Form collection will cause an error. Conversely, once you have referred to a variable in the Request.Form collection, calling BinaryWrite will cause an error. Remember, if you access a variable in the Request collection without specifying which subcollection it belongs to, the Request.Form collection may be searched, bringing this rule into force."
Просто си избий от главата ФОРМ при БИНАРИ РИЙД. Сори.
UB40 !
| |
Тема
|
избих си я :)
[re: jamie]
|
|
Автор | psy (Нерегистриран) |
Публикувано | 17.06.03 16:39 |
|
но все пак фиксирах проблема по много интересен начин.
използвах един add-in comp
който представя request.form полетата по друг начин
така пак използвах и бинари-то и форм-а в едно и то много успешно
за повече коментар i samia add-in comp:
rady_t@abv.bg
| |
Тема
|
Re: избих си я :)
[re: psy]
|
|
Автор |
jamie (Bad to the bone) |
Публикувано | 17.06.03 21:53 |
|
Не работя е 3-рд парти компоненти, сори :-)
Никога. Повече проблеми, отколкото плюсове - липсва им гъвкавост (99% от случаите).
Но по темата - по принцип ФОРМ си се съдържа в БИНАРИ РИЙД, просто е по-трудно да измъкнеш точно това което искаш.
UB40 !
| |
Тема
|
да споделя аз опит
[re: jamie]
|
|
Автор |
dzver (чатер) |
Публикувано | 18.06.03 12:36 |
|
случвало ми се е да имам проблеми с REQUEST
примерно REQUEST.FORM може да гръмне при твърде голям размер на единичен variable. Не съм търсил обяснение. Този проблем не съществува, като се ползва REQUEST.BinaryRead, но все пак ако пост датата е твърде голяма изгърмява и самият REQUEST.
| |
|
|
|
|