Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Manually adding Manually adding 'logout'?
Previous
 
Next
New Post
8/27/2008 5:11 AM
 

Hi David,

I have tried to link to logoff.aspx and login.aspx in a links module that only i can see as follows: http://SERVERNAME/login.aspx but it does not work. I want to be able to have certain users at my clients site logout as themselves and be redirected to the login page to login as host or admin. can you give me details of how i can do this please.

Thanks

Andy

 
New Post
9/2/2008 8:15 AM
 

Hi Andy

I would have replied sooner, but the DNN forum notifications don't work!

I am guessing that for Login.aspx to work a login page must be set in the site settings.  What should work though, and is working for me is to use Default.aspx?ctl=login

You shouldn't have any problems then with the Logoff.aspx.

Cheers

David

 
New Post
10/21/2008 2:32 PM
 

I cant get this to work.

how should the link to logout.aspx look like in text html module??

parameters, relative absolute ????

regards Mike

 
New Post
10/22/2008 2:37 AM
 

just put this link in your text: <a href="/?ctl=logoff">Log Off</a>


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
10/22/2008 3:35 AM
 

I guess <a href="/?ctl=logoff">Log Off</a> may not work, if the dnn installation is done in a folder, but may be you can use

<a href="Default.aspx?ctl=logoff">Log Off</a> for pure HTML A tag

or

<asp:hyperlink runat="server" NavigationUrl="~/?ctl=logoff">Log Off</asp:hyperlink > for asp.net hyperlink control

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Manually adding Manually adding 'logout'?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out