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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


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
14295 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.

 


Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com

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