Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Redirect user to diffrent portal, how to pass some data
Previous Previous
 
Next Next
New Post 7/8/2008 1:59 AM
User is offline David Breuer
3 posts
10th Ranked


Redirect user to diffrent portal, how to pass some data 

Hello,

I'm redirecting a user to a diffrent portal, which is hosted on the same DNN instance using Response.Redirect(http://portal2.com). What i try to do is to sent a string of data with the redirect, but i dont want it do be stored in a cookie or pass it within the url parameters. So far ive tried storing it in the Session, or Application, since its using the same instance of the DotNetNuke Framework.

 

Anyone know how to do this?

DNN
- Parent Portal 1 - http://portal1.com
- Parent Portal 2 - http://portal2.com

 
New Post 7/8/2008 4:08 AM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Redirect user to diffrent portal, how to pass some data 

There is a fair amount of gymnastics going in inside DNN to host multiple portals.

You should however be able to pass a URL query string from one to the other.

BUT you may need to intercept the querystring fairly early in the life of the new site as the URL rewriter may cause some issues.

If I need to trap inbound querystrings - I tend to make a custom skin element that sits and watches for query string values - and copies them to
session strings at runtime.

Westa

 
New Post 7/8/2008 4:16 AM
User is offline David Breuer
3 posts
10th Ranked


Re: Redirect user to diffrent portal, how to pass some data 

Well i forgot to mention, that i dont want to use QueryStrings for security reasons, so that probably would be the last option to use.

But i know that if you login with the Host account, all portals remember that you are logged in as Host and you dont have to login individually each portal. Does anyone know how that is done?

 
New Post 7/8/2008 6:33 AM
User is offline Dwayne Baldwin
520 posts
8th Ranked




Re: Redirect user to diffrent portal, how to pass some data 

Query strings are the same as fields on an html form as far as the server is concerned. One is passed in the visible url the other is passed in a post, but they are both passed over the wire.

The Host account simply uses cookies which is why it works so well in a stateless environment like the Internet.

 


Dwayne J. Baldwin
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Redirect user to diffrent portal, how to pass some data
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net
WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP