i knw in return i will get reply as in web.config file to be considered as below.
protection="All"
timeout="2880"
name=".USERLOGINCONTROLAUTH"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="CS.aspx"
cookieless="false"
enableCrossAppRedirects="false"/>
in dis above code highlifghted part tells the timeout n cookieless part.
but still session ends early den expected.
as example : gmail.com , facebook.com, etc where in user logged in session remains for longer time.
i need the same.
do give me proper n best solution for expertise please
8 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sunny SharmaPosted Oct 1, 2013, 7:27 AM
http://www.hanselman.com/blog/HowToGetCookielessFormsAuthenticationToWorkWithSelfissuedFormsAuthenticationTicketsAndCustomUserData.aspx
Guruprasad AnvekarPosted Oct 1, 2013, 6:56 AM
so wat next step???
its already present in my code itself.
any other solution for making user logged in for longer time by session>??
i need like gmail or facebook kind of stuffs for session logged in.
plz do give best solutions
Guruprasad AnvekarPosted Oct 1, 2013, 6:43 AM
plz give detailed explanation. needed urgently.
jus by applying dis slidingExpiration="true" the session wont expire early?
Sunny SharmaPosted Oct 1, 2013, 6:37 AM
Guruprasad AnvekarPosted Oct 1, 2013, 6:31 AM
where exactly i need to do dis.?
as i hav online project running in server n my client shout as its session time out happens early.
do give me best solution as i hav mentioned like gmail.com or facebook.com
Sunny SharmaPosted Oct 1, 2013, 6:29 AM
slidingExpiration="true" />
It resets the timeout for on every request made.
HTH :)
Joxin StanlyPosted Oct 1, 2013, 6:26 AM
http://weblogs.asp.net/stevewellens/archive/2009/06/09/ah-ah-ah-ah-staying-alive-staying-alive.aspx
Sanjeeb LenkaPosted Oct 1, 2013, 6:25 AM
or refer to these links
http://beyondrelational.com/modules/2/blogs/604/posts/14607/session-timeout-in-iis-7-worker-process-of-applicationpool.aspxhttp://asp-net.vexedlogic.com/2012/05/23/aspasp-net-session-timeout-how-do-i-change-it/