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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Passing username/password to sitePassing username/password to site
Previous
 
Next
New Post
3/22/2007 12:02 PM
 
Hello. I am trying to create something that when a user clicks a link or whatever it will take the users username and password and redirect them to a different site with that date (ie. www.site.com/user="test"&pass="test"). The point of this is to provide easy access to a partner site without requiring another login to be preformed. I have browsed around and not found anything so far. Thanks for the help!
 
New Post
3/22/2007 9:58 PM
 

This sort of thing can be done with about a 5 line module give or take some definition.

But and this really depends on your DNN version and setup - you may not actually have access to the current DNN users password.

In DNN 4.x by default the users password is encrypted - and not accesible.

There are a number of redirector modules around that allow token replacement - so check out some of the module list for a Redirecttor.

Effectively - you place the Redirector Module on a page somewhere on your site.

In your menu - you link to that page - and then the redirector takes over and sends you to the new site - replacing username etc as it goes thru.

If you dont have any let - let me know what DNN version u are running and I'll have a look in my code.

Westa

 
New Post
3/23/2007 1:49 PM
 
Thanks for the reply. The redirector module wasnt exactly what I was looking for. I am running DNN 4.4.1 and am currently running it locally. Essentially what I want to do is take the name of the user that is currently logged in, and when they click a certain link on my site send them to, for example, www.site.com?username, replacing username with the user who clicked that link. For the time being the password is not important, jsut getting the username is what I want to be done. Thanks for any further help!
 
New Post
3/23/2007 6:41 PM
 

Really - would have thought a redirector would do exactly what you want.

Create a new page on your site  = say its tabid=23

Add a redirctor module to that page
 -  one that supports tag replacement such as

Tell the redirector the site you want to send the users to - and include a tag to be replaced:

http://www.mytargetsite.com/sompage.asp?user=[User:UserName]

or if password passing is available

http://www.mytargetsite.com/sompage.asp?user=[User:UserName]&pwd=[Membership:Password]

>>>>>>>>>>

Then anywhere else on your site - where u want to send the user to your other site:

You simply add a link to http://mysite.com/default.aspx?tabid=23  - which is the page with the redirector on it.

Westa

 
New Post
3/27/2007 9:33 AM
 
OK, I get what your saying now. I was wondering if you could point me to a place where I could download a free url redirector with tag replacement. I downloaded one, but it didn't have the tag replacement feature so it didn't work. So if you could show me one, that would be great. Thanks!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Passing username/password to sitePassing username/password to site


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