Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Macro to retrieve session value View modes: 
User avatar
Member
Member
hillblocksview - 8/5/2010 12:01:44 PM
   
Macro to retrieve session value
Can someone tell me how to configure a macro to see if a session is equal to a given value?
Session name - mySelection
Value it should be equal to - insights

Thanks!

User avatar
Member
Member
Homer J. Simpson - 8/9/2010 7:46:28 AM
   
RE:Macro to retrieve session value
Hey,

Have you considered using a custom macro? See http://devnet.kentico.com/docs/devguide/index.html?appendix_a___macro_expressions.htm for more details.

I would use it. Maybe Kentico guys know some better way..

Cheers,
HJS

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 8/10/2010 3:28:30 AM
   
RE:Macro to retrieve session value
Hello,

Homer is right. I would recommend you using custom macro, too. You can use the standard ASP.NET methods or our API there.

Best regards,
Helena Grulichova