Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Multiple LoginURL's

 
Thread Tools Search this Thread
Old 06-14-2005, 01:05 AM   #1
Default Multiple LoginURL's


Is it possible to have multiple LoginURL's.

I have a situation where I have a certain url redirect into my secure web
application. I have the specific login credentials handled fine. The users
from the external site get in fine. When they log out of the app, it returns
them to their pervious login page. This login page is not the normal login
page for the secure application.

Now the problem. If the user allows their session to timeout, they get
redirected to the loginurl that is in the webconfig of the main application.

What I want is to have it send them back to their previous app.

Hope this makes since.

Thanks in advance.


=?Utf-8?B?ZGdhdG9y?=
  Reply With Quote
Old 06-14-2005, 02:04 AM   #2
tom.pesterDeLeTeTHISSS@pandora.be
 
Posts: n/a
Default Re: Multiple LoginURL's

from http://winfx.msdn.microsoft.com/libr...a30d73cca5.asp

The Session_OnEnd event is specified by adding a subroutine named Session_OnEnd
to the Global.asax file. The Session_OnEnd subroutine is run when the Abandon
method has been called or when the session has expired. A session expires
when the number of minutes specified by the Timeout passes without a request
being made for the session.

If you need more help let me know.

Cheers,
Tom Pester

> Is it possible to have multiple LoginURL's.
>
> I have a situation where I have a certain url redirect into my secure
> web application. I have the specific login credentials handled fine.
> The users from the external site get in fine. When they log out of
> the app, it returns them to their pervious login page. This login
> page is not the normal login page for the secure application.
>
> Now the problem. If the user allows their session to timeout, they
> get redirected to the loginurl that is in the webconfig of the main
> application.
>
> What I want is to have it send them back to their previous app.
>
> Hope this makes since.
>
> Thanks in advance.
>



  Reply With Quote
Old 06-14-2005, 04:56 AM   #3
=?Utf-8?B?UHJha2FzaC5ORVQ=?=
 
Posts: n/a
Default RE: Multiple LoginURL's

In the login page that is specified in web.config file, redirect the user to
their login page.

"dgator" wrote:

> Is it possible to have multiple LoginURL's.
>
> I have a situation where I have a certain url redirect into my secure web
> application. I have the specific login credentials handled fine. The users
> from the external site get in fine. When they log out of the app, it returns
> them to their pervious login page. This login page is not the normal login
> page for the secure application.
>
> Now the problem. If the user allows their session to timeout, they get
> redirected to the loginurl that is in the webconfig of the main application.
>
> What I want is to have it send them back to their previous app.
>
> Hope this makes since.
>
> Thanks in advance.

  Reply With Quote
Old 06-14-2005, 04:57 AM   #4
=?Utf-8?B?UHJha2FzaC5ORVQ=?=
 
Posts: n/a
Default RE: Multiple LoginURL's

In the login page mentioned in web.config file, redirect the user to the
appropriate login page.

"dgator" wrote:

> Is it possible to have multiple LoginURL's.
>
> I have a situation where I have a certain url redirect into my secure web
> application. I have the specific login credentials handled fine. The users
> from the external site get in fine. When they log out of the app, it returns
> them to their pervious login page. This login page is not the normal login
> page for the secure application.
>
> Now the problem. If the user allows their session to timeout, they get
> redirected to the loginurl that is in the webconfig of the main application.
>
> What I want is to have it send them back to their previous app.
>
> Hope this makes since.
>
> Thanks in advance.

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump