arrParams(f)(3) Then value = Left(value, arrParams(f)(3)) Case adInteger If CDbl(value) > 2147483647 Then value = 0 Case adBigInt If CDbl(value) > 9223372036854775807 Then value = 0 End Select End If Cmd.Parameters.Append Cmd.CreateParameter(arrParams(f)(0), arrParams(f)(1), arrParams(f)(2), arrParams(f)(3), value) End If End If Next Set collectParams = Cmd Exit Function Else Set collectParams =..
public class AuthorizationAttribute : FilterAttribute, IAuthorizationFilter { void IAuthorizationFilter.OnAuthorization(AuthorizationContext filterContext) { HttpCookie cookie = filterContext.RequestContext.HttpContext.Request.Cookies.Get("AccessToken"); Controller controller = filterContext.Controller as Controller; if (cookie == null || string.IsNullOrEmpty(WebConfig.SessionUserID)) { controll..
class ImpDataEncryption : IDataEncryption { string IDataEncryption.SHA1Encrypt(string key, string textToEncrypt) { byte[] keyArray = Encoding.UTF8.GetBytes(key); byte[] toEncryptArray = Encoding.UTF8.GetBytes(textToEncrypt); RijndaelManaged rijndaelManaged = new RijndaelManaged(); rijndaelManaged.Mode = CipherMode.CBC; rijndaelManaged.Padding = PaddingMode.PKCS7; rijndaelManaged.KeySize = 128; r..
기본 정보세션은 서버에서 생성되며 서버에서 관리가 된다.쿠키는 서버에서도 생성할 수 있지만 클라이언트에서도 생성할 수있다.쿠키는 클라이언트에 의해 관리된다. 쿠키가 클라이언트에 의해 관리 되다보니 보안상 취약하다.쿠키의 보안상의 단점(쿠키 스니핑 or 스푸핑)을 보안하여 등장한 것이 바로 세션이다. 세션은 서버의 메모리에 저장되며 많은 양의 세션 정보들은 메모리 풀 상태를 발생시킬 수 있다. 이는 서비스에 안 좋은 영향을 줄 수있다는 애기이다. 추가 정보세션의 유지시간은 크게 두 곳에서 제어된다. 첫번째는 응용 프로그램에서 두번째는 웹 서버에서이다. 응용 프로그램에서 세션의 유지시간을 제어하는 방법은 다음과 같다. 서버에서 세션의 유지시간을 제어하는 방법은 다음과 같다.IIS 관리자 -> 응용 프로그램 ..
protected void lv_ItemDataBound(object sender, ListViewItemEventArgs e) { Label eventPeriod = null; if (e.Item.ItemType == ListViewItemType.DataItem) { eventPeriod = (Label)e.Item.FindControl("EventPeriod"); //System.Data.DataRowView rowView = ((ListViewDataItem)e.Item).DataItem as System.Data.DataRowView; //string temp = rowView["IsAlways"].ToString(); //or GetListPropertyEventEntity getListPro..
-- 커서 선언declare cur_purchaseCount cursorforselect rn, member_id, purchase_count from @mobileFlatPrice -- 커서 오픈open cur_purchaseCount -- 변수 선언(cursor에서 사용할 변수)declare @v_rn bigintdeclare @v_member_id varchar(12)declare @v_purchase_count int -- 첫 로우 fetchfetch next from cur_purchaseCount into @v_rn, @v_member_id, @v_purchase_count while @@FETCH_STATUS = 0beginupdate @mobileFlatPrice setpurchase_co..
System.Net.HttpWebRequest wReq;System.Net.HttpWebResponse wRes; wReq = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(new Uri("http://61.252.186.10/asp/getAspToonList.do?cp_code=testtoto&toon_type=popularity&toon_list_limit=30"));wReq.Method = "GET";wReq.ServicePoint.Expect100Continue = false; using (wRes = (HttpWebResponse)wReq.GetResponse()){System.IO.Stream respPostStream = wRes.GetR..
- Total
- Today
- Yesterday
- html tag
- 아이폰
- System.Diagnostics
- async
- hyper-v
- 상품 등록
- mssql
- 문자 자르기
- trim
- system.io
- MainActor
- 명령어
- 진수 변환
- Task
- In App Purchase
- FileUpload
- .submit()
- App Store
- 공백제거
- 제품 등록
- await
- 특정 문자를 기준으로 자르기
- nl2br
- 앱 스토어
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |