cannot access session varible

P

prash

Hello all

I have a strange problem at the moment .I use iis5 to do my asp pages with
vb scripts
when i set
session("myvar")="anyvalue" in my first page i cannot read the session
variable in my second page

If i try to get
xx=Session("myvar") it returns noting

Is this something to do with my configuration
Please help

/Prashantha
 
D

dave

You have tried writing the value?
<%=session("myvar")%>

The second page in in the same web? its an asp page? session state is
enabled? you accept cookies? you set the session on an asp page?
 
P

prash

You have tried writing the value? <%=session("myvar")%> ? yes i have


The second page in in the same web? yes
its an asp page? yes it is
session state is enabled? how can i enable the session
you accept cookies? i have not set anything on my page
you set the session on an asp page? yes my first page i set <%
session("myvar")="anyvalue" % >
Then in my second page i use <%=session("myvar")%> . nothing returns .syntax
is quite ok
any idea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,151
Messages
2,570,854
Members
47,395
Latest member
GennieGinn

Latest Threads

Top