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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  Using a Session Variable in the Querystring
Previous Previous
 
Next Next
New Post 1/17/2008 12:11 PM
Unresolved
User is offline Ryan Tse
48 posts
10th Ranked


Using a Session Variable in the Querystring 

Hi,

I'm running DNN 4.8.0, with Iframe module 03.02.03. I want to use the iFrame using a previously stored session variable (ie. session[myVar]) in the querystring variable (ie. qVar) of the URL (so http://someurl.com?qVar=session[myVar]) .  It doesn't look like there is a way to read session variables so I was wondering what steps I should take next?

 

Perhaps I should get the source and create a custom iFrame module taht specifically reads the session?

 

Thanks,

 
New Post 1/19/2008 3:19 PM
User is offline Vitaly Kozadayev
723 posts
www.continure.com
7th Ranked






Re: Using a Session Variable in the Querystring 

Since Session is an object of ASP.NET - it's only accessible from the server code. So altering the source code is the way to go.

Just keep in mind that your alterations will disappear if you uprgade to the next IFrame version. So, you'll need to keep adding that piece in the future.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 1/19/2008 11:39 PM
User is offline Sebastian Leupold
14293 posts
www.deutschnetnuke.de
1st Ranked












Re: Using a Session Variable in the Querystring 

note as well, that session variables are not used in DotNetNuke core development, as they are not suppported in web farm scenarios.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 1/20/2008 1:38 AM
User is offline Stefan Cullmann
1489 posts
6th Ranked








Re: Using a Session Variable in the Querystring 

Ryan, I suggest updating to the newest IFrame release 4.3.0. It is a Web Source Project (WSP), which means that you are able to adopt your changes without any need to recompile. 
You can also add it as enhancement request to the tracker (http://support.dotnetnuke.com). Even if Sebastian is right that Session variables are not used in DotNetNuke core development, using them usually speeds up development in inhouse projects.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  Using a Session Variable in the Querystring
 


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.

 


DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca

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