วันจันทร์ที่ 6 ตุลาคม พ.ศ. 2557

Prevent Remember My Password , Disable Remember My Password on brower

ในหน้าเว็บที่ต้องกรอก UserName & Password เมื่อทำการ submit แล้ว Brower จะถามว่าต้องการบันทึกหรือไม่
      เมื่อเราทำการกด บันทึกBrower ก็จะจำuser และ รหัสผ่านที่เรากรอกไป
ซึ่งทำให้ผู้ที่เข้ามาเปิดเว็บคนถัดไปสามารถใช้ ข้อมูลที่เก็บไว้ในที่นี้ log in เข้าไปได้

วิธีการป้องการ การจำในส่วนนี้ ทำได้ดังนี้
(Disable Remember My Password)
เพิ่ม tag
              <div style=" visibility:hidden; width:0px; height:0px;">
                    <input id="txtpus"  type="text" />
                    <input id="txtusper" type="password" />
                </div>



วันศุกร์ที่ 14 มีนาคม พ.ศ. 2557

How to disable filemonitoring on IIS using c# code

add code in Global Event Application Start


View Code

ที่มา :-  http://www.narisa.com/forums/index.php?showtopic=27585

http://stackoverflow.com/questions/3610240/how-to-disable-filemonitoring-on-iis-using-c-sharp-code
http://www.ruxcom.com/aspnet-session-lost