By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,133 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,133 IT Pros & Developers. It's quick & easy.

Sesion state persistance (file or DB)

P: n/a
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.
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
"Leo" <no****@newsgroups.com> wrote in message
news:0c****************************@phx.gbl...
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.

Jul 19 '05 #2

P: n/a
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" <no****@newsgroups.com>
!Sender: "Leo" <no****@newsgroups.com>
!Subject: Sesion state persistance (file or DB)
!Date: Thu, 24 Jul 2003 03:34:00 -0700
!Lines: 10
!Message-ID: <0c****************************@phx.gbl>
!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.
!
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.