Welcome Guest Search | Active Topics | Sign In | Register

Using the Session object from the ContentGenerator class Options
Mark Rae
Posted: Thursday, September 29, 2011 10:37:54 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
Hi,

Is there any way to reference the Session object from within the ContentGenerator class? It always shows as 'null'.

Thanks,

Mark
eo_support
Posted: Thursday, September 29, 2011 11:49:44 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. You can not. You will have to pass whatever value you need in through the second parameter when you call DynamicDownload.

Thanks!
Mark Rae
Posted: Thursday, September 29, 2011 12:09:37 PM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
eo_support wrote:
No. You can not. You will have to pass whatever value you need in through the second parameter when you call DynamicDownload.


OK. How do I pass an object e.g. a DataTable...?
eo_support
Posted: Thursday, September 29, 2011 12:20:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
You can not. You can only pass strings because everything you pass over will be encoded as query string of the final download link.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.