![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Session Variables in XSLT [Thread Next] Re: Session Variables in XSLTTo: NULL Date: 1/14/2008 1:59:00 PM anoop wrote: > I want to know , how to access/store value in session Variable in > XSLT for a website to access information. Well XSLT has no knowledge of server-side stuff like session variables. To access the session variable you could define a global parameter in your XSLT stylesheet <xsl:param name="p1"/> and then use the XSLT processor's API to set that parameter to the value of your session variable before you run the transformation. To set a session variable you might want to look into extension objects but I am not sure setting a session variable will work that way. If you need more help then tell us whether you use classic ASP with MSXML or ASP.NET with XslCompiledTransform. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
