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)
odd string diff
https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java class Solution { public String oddString ( S...
-
bu durum sessionun uzun ömürlü olmasını istediğinizde yapacağınız bişeydir ki Session["eblek"]="gobalak"; dediğimizde ve...
-
at the end of any product there will be a reporting interfaces for counts. let say you build a advertisement site which gives people to publ...
-
in java web application you can easily set 400 and 500 error pages via web.xml like this <error-page> <error-code>50...
No comments:
Post a Comment