|
 |
aspx thread: Session Variable & Time Out ?
Message #1 by "Geeta Kalantre" <dotnetgeeta@h...> on Thu, 04 Oct 2001 18:38:07 +0000
|
|
How I can make the session variables availiable through entire session?
Because If I use time out then I have to specify the time for which amount
of time session variable will be availiable. But I don't want that way?
So let me know how I can make session variable availiable for entire
session?
Thanks
Message #2 by Todd Carrico <ToddC@m...> on Thu, 4 Oct 2001 13:50:36 -0500
|
|
I believe that a session will timeout after inactivity, so a session should
not timeout while you are "using" it, but after you "leave" the site for the
timeout period.
Am I missing something?
tc
-----Original Message-----
From: Geeta Kalantre [mailto:dotnetgeeta@h...]
Sent: Thursday, October 04, 2001 1:38 PM
To: ASP+
Subject: [aspx] Session Variable & Time Out ?
How I can make the session variables availiable through entire session?
Because If I use time out then I have to specify the time for which amount
of time session variable will be availiable. But I don't want that way?
So let me know how I can make session variable availiable for entire
session?
Thanks
Message #3 by "Mark A. Struck" <struckm@a...> on Thu, 4 Oct 2001 15:06:24 -0500
|
|
Geeta,
To achieve what you want you need to use cookies. Sessions will always
timeout within some period of inactivity and if you set a high value for a
session you'll be locking the servers resources unnecessarily. If security
is an issue you can instead store an id into the cookie and store the users
data in a database and retrieve the data using the users id stored in the
cookie. Hope this helps.
Mark A. Struck
-----Original Message-----
From: Geeta Kalantre [mailto:dotnetgeeta@h...]
Sent: Thursday, October 04, 2001 1:38 PM
To: ASP+
Subject: [aspx] Session Variable & Time Out ?
How I can make the session variables availiable through entire session?
Because If I use time out then I have to specify the time for which amount
of time session variable will be availiable. But I don't want that way?
So let me know how I can make session variable availiable for entire
session?
Thanks
Message #4 by "kshatdalpriya" <kshatdalpriya@i...> on Mon, 8 Oct 2001 10:02:19 +0530
|
|
specify time limit to null
-----Original Message-----
From: Geeta Kalantre [mailto:dotnetgeeta@h...]
Sent: Friday, October 05, 2001 12:08 AM
To: ASP+
Subject: [aspx] Session Variable & Time Out ?
How I can make the session variables availiable through entire session?
Because If I use time out then I have to specify the time for which amount
of time session variable will be availiable. But I don't want that way?
So let me know how I can make session variable availiable for entire
session?
Thanks
Message #5 by "Geeta Kalantre" <dotnetgeeta@h...> on Tue, 09 Oct 2001 13:13:58 +0000
|
|
It is not possible to set time limit to null because it takes positive
integer value.
>From: "kshatdalpriya" <kshatdalpriya@i...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Session Variable & Time Out ?
>Date: Mon, 8 Oct 2001 10:02:19 +0530
>
>specify time limit to null
>
>-----Original Message-----
>From: Geeta Kalantre [mailto:dotnetgeeta@h...]
>Sent: Friday, October 05, 2001 12:08 AM
>To: ASP+
>Subject: [aspx] Session Variable & Time Out ?
>
>
> How I can make the session variables availiable through entire session?
>Because If I use time out then I have to specify the time for which amount
>of time session variable will be availiable. But I don't want that way?
>
> So let me know how I can make session variable availiable for entire
>session?
>
>Thanks
>
>
>
|
|
 |