473,320 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.
Nov 19 '05 #1
3 2009
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.

Nov 19 '05 #2
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.

Nov 19 '05 #3
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.

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
6
by: Andrew Connell | last post by:
I have an app where I want virtually everything password protected/secure except for a single directory. That directory handles some custom authentication and contains my login form, but also some...
3
by: DJT | last post by:
I have 2 applications that are configured to work with ASP.NET (ie. app1.domain.com and app2.domain.com). App1 has been working (with infrequent aspnet_wp recycling) for quite awhile. Recently,...
1
by: Rob | last post by:
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The...
1
by: Maziar Aflatoun | last post by:
Hi everyone, I have a website that requires 2 separate sections to be password protected (/admin and /admin2) so that for ex. once the user in /admin2 is authenticated he/she can then view...
1
by: cab0san | last post by:
I have several applications all on the same server. I would like them to all use the same login page. Example: http://server1/customers/app1.aspx http://server1/suppliers/byregion/app2.aspx ...
6
by: TJS | last post by:
i'm having problems where the user is not correctly redirected to login page if starting in a folder below the webroot. in these cases, it always tries to go to /foldername/login.aspx this is...
0
by: Michel Lapointe | last post by:
Hello, I currently have two section in my site which required authentication, to be able to have different section, I've create virtual directory for the two sections and I've try to use forms...
3
by: cashdeskmac | last post by:
I have read that when using Forms Authentication, if you do not specify a value for the LoginUrl attribute it defaults to default.aspx. However, to test this, I create an application, add a new...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.