Ask a Question related to ASP.NET General, Design and Development.
-
Ric Pullen #1
Sessions -Setting a timeout in order to re-logon
Hi,
i've been playing around with the session time out setting in the webconfig.
Now i set it at 1 minute and waited in the global.asx in the session end
event but it does not fire.
What i'm trying to achieve is the following.
Forms authentification login : - Done
If the user leaves the application open and unused for more than 10 minutes.
I want kill the authentification and move them back to the log on screen.
(now i have achieved the killing of the authentification and returning to
the log on via a log off button) Now i want to activate the same code if
their session times out.
Has anyone done something similar or know of code to do this?
Ric
Ric Pullen Guest
-
Sessions never timeout problem
Hi all, We're having a strange problem concerning sessions. For some reason sessions are not destroyed after timeout (viewing this via the... -
cfquery, timeout attribute and cfserver timeout setting
On our server, CFMX 6.1, we have an option setting for timeout requests as120 seconds. Then in my query, I tried replacing the timeout setting to... -
Web service sessions never go away after timeout
I have a problem with an intranet web service (that I developed using VS.NET 2003) which under some conditions causes the service to hang, resulting... -
#24669 [Bgs]: Sessions and Cookies Timeout prematurely
ID: 24669 User updated by: sunofman at sympatico dot ca Reported By: sunofman at sympatico dot ca Status: Bogus Bug... -
#24669 [Opn->Bgs]: Sessions and Cookies Timeout prematurely
ID: 24669 Updated by: sniper@php.net Reported By: sunofman at sympatico dot ca -Status: Open +Status: ... -
PJ #2
Re: Sessions -Setting a timeout in order to re-logon
The SessionEnd event will only fire if you are using InProc session mode.
"Ric Pullen" <Richard.Pullen-REMOVESPAM@Hospital.nhs.uk> wrote in message
news:uU34E1mVDHA.424@TK2MSFTNGP11.phx.gbl...webconfig.> Hi,
>
> i've been playing around with the session time out setting in theminutes.> Now i set it at 1 minute and waited in the global.asx in the session end
> event but it does not fire.
>
> What i'm trying to achieve is the following.
>
> Forms authentification login : - Done
> If the user leaves the application open and unused for more than 10> I want kill the authentification and move them back to the log on screen.
> (now i have achieved the killing of the authentification and returning to
> the log on via a log off button) Now i want to activate the same code if
> their session times out.
>
> Has anyone done something similar or know of code to do this?
>
> Ric
>
>
PJ Guest
-
Ric Pullen #3
Re: Sessions -Setting a timeout in order to re-logon
Cheers, this is what i'm doing though, i've taken a copy of some of the
info in the web.config
<authentication mode="Forms">
<forms name=".logoncookie" loginUrl="secure/Login.aspx" protection="All"
timeout="80" path="/"/>
</authentication>
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="1"/>
"PJ" <pjwalNOSPAM@hotmail.com> wrote in message
news:uoQJnqnVDHA.1912@TK2MSFTNGP11.phx.gbl...screen.> The SessionEnd event will only fire if you are using InProc session mode.
>
> "Ric Pullen" <Richard.Pullen-REMOVESPAM@Hospital.nhs.uk> wrote in message
> news:uU34E1mVDHA.424@TK2MSFTNGP11.phx.gbl...> webconfig.> > Hi,
> >
> > i've been playing around with the session time out setting in the> minutes.> > Now i set it at 1 minute and waited in the global.asx in the session end
> > event but it does not fire.
> >
> > What i'm trying to achieve is the following.
> >
> > Forms authentification login : - Done
> > If the user leaves the application open and unused for more than 10> > I want kill the authentification and move them back to the log onto> > (now i have achieved the killing of the authentification and returning>> > the log on via a log off button) Now i want to activate the same code if
> > their session times out.
> >
> > Has anyone done something similar or know of code to do this?
> >
> > Ric
> >
> >
>
Ric Pullen Guest



Reply With Quote

