I don't think that can be done. _javascript_ is client-side and Session variables are only accessible on the server-side. Perhaps there's another way around your problem. What are the specifics?

Chris

Ray Hughes wrote:
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/

Reply via email to