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.0to open a .aspx page from link after loggin in dotnetnuke ,bypassing the login pages of .aspx siteto open a .aspx page from link after loggin in dotnetnuke ,bypassing the login pages of .aspx site
Previous
 
Next
New Post
11/14/2007 7:32 AM
 

Is there a way to do this in dotnetnuke? What I'd like to achieve is: once members logs in, they will see a link to another site in .aspx, and if they click on this link, the link will take their userid and pwd info to the other site, something like "http://.../othersite.aspx?userid=...&pwd=..." .
I have been able to send the user id (from iframe module ->adding query string parameter),how can i send the password.
Pls try to have a look at this.And Reply ASAP ...

 

Thanks in Advance,

RItesh

 
New Post
11/16/2007 7:29 PM
 

Ive been looking for this myself. And found a way to do this...probably not according to DNN-rules, but hey? it works !

have your IFrame directed at an aspx file that you've uploaded in the rootfolder of your DNN site.
You add the userID and PortalID in the query string.
In the code-behind of the aspx file you wirte in pageLoad:

dim thisUser as New UserInfo()
dim portalID as integer = val(request.querystring("PortalId"))
dim UserID as integer = val(request.querystring("UserId"))
dim CurrentPassword as string
dim CurrentName as string = user.identity.name

ThisUser = UserController.GetUser(PortalID, UserID, False)
CurrentPassword = UserController.GetPassword(ThisUser, "")

response.redirect("http://my.remotewebsite.com/othersite.aspx?username=currentName&password=currentPassword")

good luck!

 
New Post
11/16/2007 8:04 PM
 

This should work:

Single Sign On



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0to open a .aspx page from link after loggin in dotnetnuke ,bypassing the login pages of .aspx siteto open a .aspx page from link after loggin in dotnetnuke ,bypassing the login pages of .aspx 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