Session

G

Guest

Dear All

I have this command in ASP.NET 2.0
session("test")="hello"

I’m trying to retrive the seesion vale for onather web form using this command
Dim a as string=ctype(Session.item(“testâ€),string)
But always giving me empty value .NO error message
I tried also
Dim a as string=session(“testâ€) but same problem

Please can anyone help
 
M

Michael Nemtsev

Hello drabee,

I suggest to turn trace on to see the state of your page, including session

There are several reasons that can lead to your problems
- session time is out
- abandoned session
- differen users try to read data from your session variable

d> Dear All
d>
d> I have this command in ASP.NET 2.0 session("test")="hello"
d>
d> I’m trying to retrive the seesion vale for onather web form using
d> this command
d> Dim a as string=ctype(Session.item(“test”),string)
d> But always giving me empty value .NO error message
d> I tried also
d> Dim a as string=session(“test”) but same problem
d> Please can anyone help
d>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

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

Top