1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with session variables

Discussion in 'C#' started by astambara, Oct 4, 2005.

  1. #1
    I have a problem with session variables (in ASP page) and iis6 (windows 2003 server).

    When I use a session variabes they expire after few minutes (about 5).

    This problem is a new entry of windows 2003 (with windows 2000 they work correctly).

    I configured Internet Information Services (iis) manager checking ENABLE SESSION STATE and inserting 50 into SESSION TIME OUT MINUTES.

    I configured also the Application Pools (SHUTDOWN WORKER PROCESS AFTER BEING IDLE FOR (TIME IN MINUTES)) inserting 70 minutes.
    for examples, using an AD SERVER (XIGLA) on my portal (http://www.ilb2b.it) the banners are displayed for few minutes after that they disapper.

    What is the problems?
    Is a problems of ii6 or I configured badly the iis?

    Thank's a lot
    astambara, Oct 4, 2005 IP
  2. carlf

    carlf Peon

    Likes Received:
    Best Answers:
    Trophy Points:
    sorry if this is stating the obvious, but have you tried:-

    Session.TimeOut = 15 (or however many minutes you want)

    in your ASP script?
    carlf, Oct 5, 2005 IP