DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: why session not working?

  1. #1
    Thomas Guest

    why session not working?

    Hi.

    My web site uses IIS 4 with ASP pages. After a user logs in, I use a few
    Session variables to track that user.

    I am having some users report that the site is not recognizing them. They
    do not receive any error messages when trying to log in, so I know they are
    entering their username and password correctly. However, when they try to
    browse to other pages, they get redirected to the login page saying that
    have to log in before viewing the page.

    The first thing I do is send them an email explaining how to check their
    cookie settings.

    They "say" they have cookies enabled. One user even reports that her
    security settings in IE are set to LOW. However, she still can't access the
    site.

    Has anyone see this behavior before? Any ideas what may be causing it??

    Thanks.





  2. #2
    JS Guest

    Re: why session not working?


    Try it with a cookie instead of a session..it might work.

    I'm assuming that it works on some machines besides the one you develop on


    "Thomas" <thomas3617@spamcop.net> wrote:
    >Hi.
    >
    >My web site uses IIS 4 with ASP pages. After a user logs in, I use a few
    >Session variables to track that user.
    >
    >I am having some users report that the site is not recognizing them. They
    >do not receive any error messages when trying to log in, so I know they

    are
    >entering their username and password correctly. However, when they try

    to
    >browse to other pages, they get redirected to the login page saying that
    >have to log in before viewing the page.
    >
    >The first thing I do is send them an email explaining how to check their
    >cookie settings.
    >
    >They "say" they have cookies enabled. One user even reports that her
    >security settings in IE are set to LOW. However, she still can't access

    the
    >site.
    >
    >Has anyone see this behavior before? Any ideas what may be causing it??
    >
    >Thanks.
    >
    >
    >
    >



  3. #3
    IqbalRaza Guest

    Re: why session not working?


    Are u initializing ur session variable in Global.asa ?
    If yes then initialize ur session variable in .asp file
    it will work fine.

    Raza


    "JS" <jakesmsu@hotmail.com> wrote:
    >
    >Try it with a cookie instead of a session..it might work.
    >
    >I'm assuming that it works on some machines besides the one you develop

    on
    >
    >
    >"Thomas" <thomas3617@spamcop.net> wrote:
    >>Hi.
    >>
    >>My web site uses IIS 4 with ASP pages. After a user logs in, I use a few
    >>Session variables to track that user.
    >>
    >>I am having some users report that the site is not recognizing them. They
    >>do not receive any error messages when trying to log in, so I know they

    >are
    >>entering their username and password correctly. However, when they try

    >to
    >>browse to other pages, they get redirected to the login page saying that
    >>have to log in before viewing the page.
    >>
    >>The first thing I do is send them an email explaining how to check their
    >>cookie settings.
    >>
    >>They "say" they have cookies enabled. One user even reports that her
    >>security settings in IE are set to LOW. However, she still can't access

    >the
    >>site.
    >>
    >>Has anyone see this behavior before? Any ideas what may be causing it??
    >>
    >>Thanks.
    >>
    >>
    >>
    >>

    >



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