Session Problem

  • Thread starter Thread starter acko bogicevic
  • Start date Start date
A

acko bogicevic

Hi
I have a session variable "sUser"
On Page_Load on Page1 i give a value for sUser like this

Session("sUser")="User1"

When i go to Page2 from Page1 this code works fine:
Response.Write(Session("sUser")

But when i go to Page3 from Page2 code above does not work fine.
I always get "" for Session("sUser")
How can i solve this problem
Thanks, Alex
 
Are all of the pages within the same application?
Is there any place where you may be terminating the
session, or clearing the value?

Thanks,

Keith
 

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

Back
Top