bakınca ne güzel bir başlık asp.net de sessionstate den bahsedecek bunuda mssql serverda tutmayı anlatacak. buraya kadar normal ama saatlerdir web.configle oynuom deli oldum her tarafda çalışan connectionstring çalışması gereken yerde saçma sapan hata veriyor. ve tamamen tecrübeyle sabit olan diğer argümanlarda bokluk vardır ile ilerlerken buldum :)
basit bir web.configde sessionstate ayarı örneği:
<sessionState mode="SQLServer"
sqlConnectionString="Data Source=.\sqlexpress;Initial Catalog=tekliflerim;Integrated Security=SSPI"
allowCustomSqlDatabase="True"
cookieless="UseCookies"
timeout="21600" />
bu 2 hafta boyunca sessionumuzu yaşatmak için yazılmış basit bir config. hatalı olan şeyse allowCustomSqlDatabase deki True daydı. az evel true dan True ya çevirdim çalıştı önceden beri biliodum her tarafı case insensitive olan yani büyük küçük harf bağımsız çalışan windows alemi bunda heleki bunda true ile True da farklılık var diyip çatlıo şimdi kime kalay çekim :)
neyse web.config de ayar yaparken böle şeylere dikkat etmekde fayda var bu nane case sensitive. yani büyük küçük harf bağımlı.
Subscribe to:
Post Comments (Atom)
speed test glasgow
at first test upload was 20mbps, something broke it now it gives 0.07 but I am happy with 129 download and price is 16 £
-
I know its been a long time I have not write anything. because I have not learn or done any new things. I dont want to write regular meaning...
-
After iphone 16 I wanted to test an android and looks like sony xperia 10 VI is nice, which is 6.1 inches, but it was narrow and longer than...
-
in .net 2 if you want to show your application in system tray . you need to add notify icon to your application and set the "ShowInTas...
No comments:
Post a Comment