Dont forget to CFLOCK the session vars if you are using CF4.5 or below!

Andres

-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 7:08 AM
To: CF-Talk
Subject: Re: passing session variables


yup :-)


----- Original Message ----- 
From: "Dominic J. Doucet-Lorang" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 23, 2003 7:04 AM
Subject: RE: passing session variables


> I am I going about this correctly?
>
> <script type="text/javascript">
> <!--
> <cfoutput>
>
> function openBokningADB()
> {
>
window.open("http://www.adbutveckling.se/cbweb/internetbutik.asp?AgentId=#se
ssion.byraid#","internetbutik","dependent=yes,
> directories=no, hotkeys=no, menubar=no, personalbar=no, status=no,
> toolbar=no, location=no, scrollbars=yes, width=787, height=550"),
> }
> </cfoutput>
> // -->
> </script>
>
> <a href="javascript:openBokningADB()">test STS</a>
>
> Dominic
>
> At 11:14 23.06.2003 +0100, you wrote:
> > > I have a javascript function I need to pass some CF session
> > > variables to how can I go about it?
> >
> >CFOUTPUT
> >
> >
> >Since the JS is just text, then put the variables into the function when
> >you build it
> >
> >If it's in a JS file, then write the call to it including the variables
> >
> >
> ><CFOUTPUT>
> >myFunction(#Session.Var1#, #Session.Var2#);
> ></CFOUTPUT>
> >
> >
> >
> >
> >
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to