A short adition to this.

When you do use session variables keep in mind that they do expire after a 
set period of time ( default = 20 minutes ) .
If pages aren't refreshed / submitted within this time period the session 
data wil be lost.

So this might not be an ideal form of data persistence for a survey / test 
sort of internet app.

The best way to deal with this is probably by using hidden form fields / 
querystring variables.
To pass along this data.



----- Original Message ----- 
From: "Charles M. Carroll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 25, 2004 11:10 AM
Subject: Re: [AspClassicAnyQuestionIsOk] **Update**


> Ne need for session variable.
>
> querystring will accomplish same thing with less resources.
>
> I do not recommend multiple fields on same row as task taker. I recommend 
> 1
> row for each answer.
>
> At 03:16 AM 9/25/2004, you wrote:
>
>>*********************************************************************
>>*                   Please Read My First Post                       *
>>*********************************************************************
>>
>>I've been working on this all day now and I think the best way for
>>me to deal with my problems are to use session variables.
>>
>>---------------------------------------------------------------------
>>                  Desired end results summarized:
>>---------------------------------------------------------------------
>>I want people to log on and put their first and last name in on
>>default.asp.  Name and address information will be recorded in one
>>table in a data base. Users will be redirected to questions1.asp
>>upon submisson. Their first and last name will be used as session
>>variables.  The session variables will be recorded into a a second
>>table in a data base after being redirected.  The answers on the
>>questions page will be recorded the same table and users will be
>>redirected to questions2.asp.  The session variables will be used to
>>match up the users and the results of the second questions will be
>>recorded into the same row as the rest of the information for the
>>individual.
>>
>>The end results being one data base with a table for a sort of
>>mailing list while a second table has the answers to questions.
>>
>>Any help you can give me would be great!
>
>  ----------
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to