Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assigning value to session variable from Vbscript function

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hi,

Is it possible to assign value to a session variable from vbscript function ? Sample code appreciated.

Thanks [sig][/sig]
 
I'm trying something like this :

<script language=&quot;vbscript&quot;>
sub vbfunction1()
dim username
username=&quot;Peter&quot;
session(&quot;name&quot;) = username
end sub
</script>


Thanks [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top