Session Variable


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Session Variable

  1. #1
    Wyle Guest

    Session Variable


    I'm putting a username into a session variable and using it though out the
    site. It works fine on my live server but on my test server it does not
    hold the values. Me session variable is always blank. Does anyone know
    why this may happen?

    Thank You,
    Wyle

  2. #2
    Sergey Kats Guest

    Re: Session Variable

    It might happen if sessions are disabled.
    Check IIS settings, open properties for web site or virtual dir, go to Home
    Directory tab, click Configuration button, go to App options tab, Enable
    session state box should be checked.

    hope this helps,
    - Sergey

    "Wyle" <Wyle@home.com> wrote in message news:3b448150$1@news.devx.com...
    >
    > I'm putting a username into a session variable and using it though out the
    > site. It works fine on my live server but on my test server it does not
    > hold the values. Me session variable is always blank. Does anyone know
    > why this may happen?
    >
    > Thank You,
    > Wyle




  3. #3
    Jayakumar Guest

    Re: Session Variable


    Way,

    1)Please check the size of u r global.asa file. It should not be 0 bytes.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center