Sesion state persistance (file or DB)

L

Leo

Hi,

I'm back to ASP for a short while and I was wondering how
I could save the entire Application/Session-state to a
file or database and how to read it back afterwards. I'd
like to preserve the state inbetween service/server-
restarts. I know how to do it in ASP.NET. Pease help me.
Thanks in Advance!

Leo.
 
O

only_me

something like this to read the variable name and contents - change
application to session to read the others

For Each strName in application.Contents
x(n) = application.Contents(strName)
next
 
Y

Yan-Hong Huang[MSFT]

Hello Leo,

Saving session info in service and sql server is a new feature in asp.net. I don't think there is any existing way to do so in
typical asp. (Surely you could completely implement it in your own way, however, it it very time consuming)

Thanks.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: "Leo" <[email protected]>
!Sender: "Leo" <[email protected]>
!Subject: Sesion state persistance (file or DB)
!Date: Thu, 24 Jul 2003 03:34:00 -0700
!Lines: 10
!Message-ID: <[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNRzxgt50hblzh4QWWT7Mf1Th3f+A==
!Newsgroups: microsoft.public.inetserver.asp.general
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:247204
!NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!X-Tomcat-NG: microsoft.public.inetserver.asp.general
!
!Hi,
!
!I'm back to ASP for a short while and I was wondering how
!I could save the entire Application/Session-state to a
!file or database and how to read it back afterwards. I'd
!like to preserve the state inbetween service/server-
!restarts. I know how to do it in ASP.NET. Pease help me.
!Thanks in Advance!
!
!Leo.
!
 

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

No members online now.

Forum statistics

Threads
474,079
Messages
2,570,574
Members
47,206
Latest member
Zenden

Latest Threads

Top