Another State Management question

N

Nikhil Patel

Hi all,
Is there a way to store a value that can be accessed from entire
application during a session? Basically I would want to be able to access
the value from multiple pages and/or requests and it should be removed only
when the session ends. I know I can use Application State. But that will not
allow me to save data on "per session" basis.

Thanks.
-Nikhil
 
N

Nikhil Patel

Also, I know I can use Session State. But that can expire before the user
closes the browser window. I want to be able to access the value even after
the session expires.

Thanks.
-Nikhil
 
H

Hermit Dave

what you are looking for is a cookie or you could write your own business
components which could handle the release mechanism and store them in
Application / Cache

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 
K

Kevin Spencer

You can use a cookie, and don't set the expiration. It expires as soon as
the browser closes.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top