WebProAsp Home PageAbout iEntryArticle ArchiveNewsWebProWorld ForumsJaydeiEntryContactAdvertiseDownloadsiEntry
^ click above ^
04.02.04

Sharing Session State between ASP and ASP.NET
Despite all of Microsoft's best efforts to make ASP and ASP.NET coexist effortlessly, one area remains a stumbling block... session state. Fortunately the advantages of ASP.NET's upgraded session state management far outweigh the inconvenience of not being able to pass "Classic" session information to .NET. Unfortunately there is no simple solution; the most I can offer is an easy to implement workaround.

In trying to find a suitable resolution, I've come across two good options that are worth mentioning. The first involves parsing the session information out to hidden form fields on a "Classic" intermediate page and then submitting the page to a .NET intermediate page that loads the form fields into the session state. This is a good, simple solution, however it doesn't work both ways. In .NET you cannot specify the page that you submit to. Each page has to PostBack to itself.
Read The Whole Article
Session Object Explained
What is a session? A session is started when I user hits your website. A session is ended when a user either closes his/her browser or the session timeout is reached.

There are two properties in the Session Object that you should be concerned about:

Session.SessionID - This will return to you the unique session identifier. Session.TimeOut - This is the amount of time in minutes that a session will stay alive.
Read The Whole Article


Databases and Checkboxes
Having been a contractor now for almost 2 decades, it came as a surprise to me that using checkboxes in ASP forms could cause me any problems. I mean what's really to it; you allow the user to click on one or two, store that data in a dbase and then when they ask to see that page again, you put 'em back up already checked. Simple, eh? But not really -- at least for me. The project I'm currently working on is to create a new web application for a used car lot in a major city near my own. This dealer must be one of the largest in the whole province (Canadian, eh?) and they're needs have been intensively planned for and are under current development. But the checkbox thing came up as an aside really, in that I had trouble from the start storing that data and then reading it out for their users.
Read The Whole Article

What is your Geek IQ?
See how you rank
against other techies with this free comprehensive 20 question IQ test.Take test

How To Output RTF-formatted Documents with ASP
ASP is a great technology for delivering custom HTML-based content to a Web page. You can also use ASP to create output for print and distribution beyond Web pages. In fact, ASP can be a great medium for creating complex reports in a variety of formats. This article shows you how to use ASP to generate RTF files, and gives you some simple functions for formatting blocks of text and paragraphs as well as a function to produce an RTF table from a SQL query. The ASP makeTable function produces a generic table containing data from a query that you can then format as needed in your favorite word processing application.
Read The Whole Article


Reading a Delimited File using ASP.NET and VB.NET
This article will show you how to read a delimited text file using asp.net or vb.net, which will explain about various aspects of a delimited file, code explanation and source code.

We must be aware of importing data into a database. Data used for importing is normally in the form of a text file. Sometimes these files are called a comma-separated value file, which will normally have a .csv extension.
Read The Whole Article

Web Content Management Solutions designed specifically to solve problems.
Click for a free download

Creating a Push Server with ASP
Before the big boys finish their push servers and sell it for big money, why don't you write your own? What? You say you don't know low level HTTP, don't program C++, and know nothing about Windows NT services, not a problem. With Active Server and a little help from 15 Seconds you can have your own push server. The Active Server page code that we present in this article is not a hack nor a work-around. It is code that manipulates HTTP headers to make the client think that you are a push server. The client in turn calls Active Server pages that return the correct headers. Before we get started, you need to know something about Internet Explorer 4.0, the client that will hold up the other end of our push server example.
Read The Whole Article




Read this newsletter at: http://www.webproasp.com/2004/0402.html
Free Newsletters
Part of the iEntry Network
over 4 million subscribers
WebProAsp
JavaProNews
LinuxProNews


Send me relevant info on products and services.


 

Create you own custom surveys - free trial of SurveyConsole

 

From the Forum:
Script Time out errors with Access

I have built my first straightforward ecommerce site using asp and access (I know... should have used MySQL - hindsight is a great thing). Now that I'm getting some hits I find the logs are showing some script timed out errors. I have spoken to my host (since I have been unable to replicate the problem) and they have informed me it is probably because access can only have 60 connections concurrently on their servers ...

Go Here

 

 

-- WebProAsp is an iEntry, Inc. publication --
iEntry, Inc. 880 Corporate Drive, Lexington, KY 40503
2003 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article

DevWebPro.com DevWebNews.com