Ask a Question related to ASP.NET Security, Design and Development.
-
Marcus Olsson #1
Redirect Session Timeout
Hi!
When my ASP.NET app timeout I want it to redirect to a page that tells the user that they are timed out. I don't want them to just end up att the default Login page just like that.
In web.config I can set loginUrl to a certain URL. If there is a timeout, that page is used. Q: Is that loginUrl-page used in other cases too, or only when timeout?
What I want is one Login page and another page which you are redirected to if the app does a timeout. Which is the smartest way to do this?
<forms name="formsmy" path="/" loginUrl="login.aspx" protection="All" timeout="1" SlidingExpiration="true"/>
I have searched for an answer on internet but there seemes to be no clear answer. If you have a link to a good page or some ideas, I would appreciate it much!
Thanx!
Regards
/marcus
Marcus Olsson Guest
-
how to specify session timeout
Hi I am setting objects in the session using following tycnique. <mx:RemoteObject id="loginidObj" source="servlet" showBusyCursor="true"... -
FormsAuthentication doesn't redirect properly after timeout
Hi there, I was wondering if anyone would be able to shed some light on the following behaviour for me. I have an application that is using... -
PHP session timeout
I've modify the php.ini the session.gc_maxlifetime to reduce the time of timeout of the session variabiles. But it not seems to go. In fact the... -
[PHP] Session Timeout
Hi, Saturday, August 30, 2003, 1:55:02 PM, you wrote: SW> From what I see, the default timeout for a session is 1440 seconds or SW> 24 minutes.... -
IIS Session timeout
Is there a way to notify a client browser that their IIS Session is about to OR has just expired? -
Hernan de Lahitte #2
Re: Redirect Session Timeout
One idea from the top of my head is this:
When you session expires, the Session_End (global.asax) event is fired.
Here, you can redirect the user to a page with you timeout message. It's
important to place this page on a folder outside the forms path. This folder
should have anonymous access. On your web.config file, try something like,
<location path="Timeout.aspx" allowOverride="false">
<system.web>
<authorization>
<allow users = "*" />
</authorization>
</system.web>
</location>
--
Hernan de Lahitte - MSDE
Lagash Systems S.A. - Buenos Aires, Argentina
[url]http://www.lagash.com[/url]
"Marcus Olsson" <anonymous@discussions.microsoft.com> wrote in message
news:269F4AA0-73BD-4E44-96B0-756A6FA744EF@microsoft.com...user that they are timed out. I don't want them to just end up att the> Hi!
>
> When my ASP.NET app timeout I want it to redirect to a page that tells the
default Login page just like that.that page is used. Q: Is that loginUrl-page used in other cases too, or only>
> In web.config I can set loginUrl to a certain URL. If there is a timeout,
when timeout?if the app does a timeout. Which is the smartest way to do this?>
> What I want is one Login page and another page which you are redirected totimeout="1" SlidingExpiration="true"/>>
> <forms name="formsmy" path="/" loginUrl="login.aspx" protection="All"answer. If you have a link to a good page or some ideas, I would appreciate>
> I have searched for an answer on internet but there seemes to be no clear
it much!>
> Thanx!
>
> Regards
> /marcus
Hernan de Lahitte Guest



Reply With Quote

