Started 5 days ago (2009-12-13 01:23:00)
by ramesh866
for that you can use session right.. in config you can specify <sessionState mode="InProc" cookieless="false" timeout="10"/>
<sessionState mode="InProc" cookieless="false" timeout ="10"/> where the timeout is the duration after which the session gets expired
Started 1 week ago (2009-12-10 11:55:00)
by ramesh866
i dont think application state will lose its value if the browser is closed
Started 1 week ago (2009-12-10 20:23:00)
by budugu
rr Kid_Coke: friends = session("friendslist")
It should be..
friends=Ctype(Session("friendslist"),
ArrayList)
Started 1 week, 1 day ago (2009-12-09 15:45:29)
by subdigital
[ThreadStatic] is an
extremely dangerous thing to use in a web app. The rest of the post is assuming that you already know this and want to proceed anyway :) I'd just put [ThreadStatic] on the protected member as well, then you can check for null in your code and initialize upon first use.
Started 3 days, 8 hours ago (2009-12-14 17:50:00)
by AceCorban
What exactly is the problem you are having? Technically, your implementation would do that. However, it isn't exactly accurate. Session_End won't always get called. So at any one point, your count could be pretty high because it will include all people that stopped working on your site any time during the session timeout setting. There really isn't a very accurate way of depicting how many ...
Started 1 day, 22 hours ago (2009-12-16 03:50:30)
by XIII
Hi,
vishalmen: Where is viewstate information stored (server or client)?
By default it's put into the rendered html as a hidden field. However you can override this default and put it in session by
overriding the PageStatePersister property on the Page and make use of the SessionPageStatePersister class. You can also create your own custom storage if needed.
vishalmen: ...
Started 4 days, 10 hours ago (2009-12-13 16:00:46)
by anas
Please let us know what you are trying to do here. If you want to link the user with his/her ip, then it's not practical thing because ip changes frequently and i don't recommended this way.
Started 3 days ago (2009-12-15 01:58:00)
by kwanann
you should be using session_start rather than begin request..
Started 4 days ago (2009-12-14 01:17:00)
by net.hitesh
Only setting cookieless="true" will not do it set mode="SQLServer" and use tcp/ip
connection string to 127.0.0.1
Started 2 days, 1 hour ago (2009-12-16 00:59:35)
by anupalavila
http://www.
w3schools.com/ASPNET/aspnet_viewstate.a sp