LoginStatus, how to modify path to login.aspx

F

frolda

Hi,

I moved my login.aspx page from root to a subdirectory and made
-hopefully- all necessary changes for all Login controls. All the
controls work just fine, except one. To my regret, the LoginStatus
control still uses the old, root-located login.aspx intead of
subdir/login.aspx. What's interesting is that for logout it works
perfectly (path to subdir/logout.aspx is recognized OK).

Could anyone write me please, where does the LoginStatus control takes
the path to login.aspx page from? It must be stored somewhere.

Any help would be apprecitated.

Info: LoginStatus is placed on master page, application is for asp.net
2.0 and I use VWD2005 EE login controls.

Frolda
 
F

frolda

I found the solution.

It was necessary to add the following to web.config:

<authentication mode="Forms">
<forms loginUrl="~/subdir/login.aspx" />
</authentication>

Frolda
 

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

Top