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)
diablo immortal
strangely I start liking diablo immortal in mobile, and now decided to install in windows :)
-
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 order to use jhipster user system I needed to find out how to call jhipster, I am planning to do this with curl because it is easiest wa...
-
if you have wl11 ejb server and in that environment generated ejb client and deploy to wl12 it will give you this exception java.lang.NoSu...
No comments:
Post a Comment