bu durum sessionun uzun ömürlü olmasını istediğinizde yapacağınız bişeydir ki
Session["eblek"]="gobalak";
dediğimizde veriler sql de tutulur ve timeout süresince orda kalırlar.
bunu kurmakda ayrı konudur hemen web.config den ayarlayınca olmazlar
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql.exe -ssadd -C "Data
Source=localhost;User ID=***;Password=***"
şeklinde ayarlanırlar.
web.config dede yapılması gerekenler
<sessionState
mode="SQLServer"
sqlConnectionString="Data Source=localhost;User ID=***;Password=***"
cookieless="false"
timeout="1000" />
aha şimdi 1000 dakikalık sessionumuz ilen dakılabilirsiniz :)
Subscribe to:
Post Comments (Atom)
-
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...
-
I took the first jab in August 15 around 10:30 in the morning. no pain or nausea or dry mouth, I have been intermittent fasting since 2017 ...
-
I haven't eaten around 67 hours and I am feeling pretty good, like I said after 48 hours I started another 48 hours of fast and come thi...
No comments:
Post a Comment