How to read Forms LoginURL?

G

gabe

Is there a way to read the loginURL attribute of the forms element in
the web.config file?

We have a standard Login.aspx page we use for custom authentication.
When the site is down for maintenance, we'd like to just change this
parameter to "maintance.aspx". In our base page class we'd like to read
from the cache based on the value that is set in the web.config. If the
user is logged in and the loginURL is Maintenance.aspx, we'd like to
SignOut and existing users and tranfer them to the maintenance page.

Has anyone dealt with this before? Thanks for your help.

Gabe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top