Dab tsi yog qhov txawv ntawm kev sib tham thiab daim ntawv thov hauv asp net?
Dab tsi yog qhov txawv ntawm kev sib tham thiab daim ntawv thov hauv asp net?

Video: Dab tsi yog qhov txawv ntawm kev sib tham thiab daim ntawv thov hauv asp net?

Video: Dab tsi yog qhov txawv ntawm kev sib tham thiab daim ntawv thov hauv asp net?
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla use for? 2024, Hlis ntuj nqeg
Anonim

Kev sib tham xeev thiab daim ntawv thov variable yog ib feem ntawm Asp . net server side xeev tswj cov ntsiab lus. Yog tias koj xav txuag tus neeg siv cov ntaub ntawv tshwj xeeb siv kev sib tham xeev. Yog tias koj xav txuag lub daim ntawv thov qib cov ntaub ntawv ces siv daim ntawv thov sib txawv. Sessions yog siv los cawm cov neeg siv cov ntaub ntawv tshwj xeeb xws li UserID, Tus Neeg Siv Lub Luag Haujlwm, thiab lwm yam.

Cov lus nug tseem yog, dab tsi yog daim ntawv thov thiab kev sib tham hauv asp net?

Koj tuaj yeem siv lub Daim ntawv thov thiab Session cov khoom los khaws cov txiaj ntsig uas yog lub ntiaj teb es tsis yog nplooj ntawv tshwj xeeb rau ib tus neeg siv (tus Kev sib tham ) lossis rau txhua tus neeg siv (tus Daim ntawv thov ). Cov Kev sib tham thiab Daim ntawv thov variables yog khaws cia rau ntawm lub server. Client browsers ces txuas nrog rau kev sib tham los ntawm ib lub ncuav qab zib.

Ib yam li ntawd, qhov txawv ntawm ViewState thiab kev sib kho hauv asp net yog dab tsi? Cia Lub Viewstate yog khaws cia hauv nplooj ntawv nws tus kheej (hauv cov ntawv encrypted), thaum lub Sessionstate yog khaws cia hauv server. Kev sib tham yog siv los khaws cia cov neeg siv cov ntaub ntawv tshwj xeeb [ kev sib tham cov ntaub ntawv tshwj xeeb]. Viewstate yog hom ntaub ntawv uas muaj peev xwm xwb hauv nplooj ntawv uas nws siv.

Ua raws li qhov no hauv kev txiav txim siab, dab tsi yog qhov kev sib tham thiab daim ntawv thov khoom?

PDF Sau E-mail Thursday, 21 Lub Xya hli ntuj 2011 18:28 Session object yog siv los khaws cov ntaub ntawv tshwj xeeb hauv xeev ib tus neeg siv khoom. Nws yog tshwj xeeb rau cov neeg siv tshwj xeeb. Daim ntawv thov khoom yog siv los khaws cov ntaub ntawv uas muaj nyob thoob plaws tag nrho daim ntawv thov thiab sib qhia thoob plaws ntau tus neeg siv kev sib tham.

Lub rooj sib tham thov yog dab tsi?

Ib daim ntawv thov kev sib tham pib thaum tus neeg siv pib ib qho daim ntawv thov thiab xaus thaum lub daim ntawv thov tawm. Txhua daim ntawv thov kev sib tham sib raug rau ib daim ntawv thov tam sim no khiav los ntawm SGD. Ib daim ntawv thov kev sib tham tuaj yeem tuav los ntawm SGD server hauv array.

Pom zoo: