You might try adding accessors and mutators and sticking with plain old JAVA
(right tool for the right job thing).
public null changeVariable1(Object varObj)
{
session.var1 = varObj;
}
public Object getVariable1()
{
return session.var1;
}
Not sure if this answers your question, but it's a thought.
-----------------------------------
Jeff McCabe
GIS Technician
City of Hurst
[EMAIL PROTECTED]
(817) 788-7082
>>> [EMAIL PROTECTED] 7/19/2006 4:13 pm >>>
Hi All,
I could use some help in engineering a way to set a session variable via a
Javascript function.
Example:
**********************
<script>
function GetReal()
{
Do Something;
Do Something;
Do Something;
Do Something;
Do Something;
Set session.var1 = '1'; <!--- Numeric --->
Set session.var2 = "myString"; <!--- String --->
document.myDocument.submit();
}
</script>
**********************
I have a need to set and reset these session variables based on the user
chocies.
Further be able to go back and reuse them.
Anyone have any thoughts.
Regards
Ray
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar * get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/