Alpha Software Message Board  

Go Back   Alpha Software Message Board > Alpha Five Application Server - Web/Browser Applications > Older Versions > Web Application Server v7
Register FAQ Members List Calendar Mark Forums Read

Web Application Server v7 Discussion about the Web Application Server in Alpha Five Version 7

Reply
 
Thread Tools
Old 04-18-2006, 03:07 PM   #1
David Brown
Member
 
David Brown's Avatar
 
Join Date: Sep 2003
Location: Miami, FL
Posts: 110
Default Set session variable in Javascript function

Does anyone know how to set the value of a session variable in a Javascript function. Or allow variables that are used within a Javascript function to be used in an alpha script.

When a new choice is selected from a drop-down on my page a Javascript function is ran to retreive the value of the drop-down. Next the value is used in an X-basic script to retreive data form my tables.

Thank you,

David
__________________
David Brown
David Brown is offline   Reply With Quote
Old 04-18-2006, 03:23 PM   #2
Lenny Forziati
Alpha Software Employee
 
Lenny Forziati's Avatar
 
Join Date: Nov 2001
Location: Alpha Software
Posts: 3,713
Default

David, Javascript variables are client-side and only exist in the browser. To make them available to the server-side A5W environment, include them as part of your query string or as a hidden form field.
Lenny Forziati is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Session variable error Brett Web Application Server v7 5 01-07-2006 12:49 PM
filtering on session variable René Stout Web Application Server v6 2 09-04-2005 12:30 AM
Filtering a GridLinker using a Session Variable Selwyn Rabins Web Application Server v6 1 06-23-2005 03:17 PM
Set session variable from grid selection Pat Bremkamp Web Application Server v6 2 09-27-2004 07:57 PM
lookup on a WAS session variable John Haytko Web Application Server v6 2 09-13-2004 04:48 PM


All times are GMT -4. The time now is 11:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2008, Alpha Software, Inc.