ASP session varibles

Post Reply
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

ASP session varibles

Post by Faiz »

Hi,
Can I access ASP session variable in TEXIS script? Both the ASP and the TEXIS runs on the same IIS server. I tried printing the variable but it didnt show any value.

Regards,
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

ASP session varibles

Post by John »

ASP Session variables are stored in cookies, which you can access in Vortex. You may need to use <varinfo list COOKIE> to find the name of the cookie, e.g.

<varinfo list COOKIE>
<rex ASPSESSION $ret>
<$sessions=$ret>
<loop $sessions>
<getvar $sessions>
$sessions: $ret
</loop>
John Turnbull
Thunderstone Software
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

ASP session varibles

Post by mark »

Probably not without it being passed in via the environment or command line. Put variables on the texis command line like this:
texis var1=value1 var2=value2 /scriptdir/scriptname/function.html
Post Reply