Re: ASP assistance please...

by "Rossi Designs" <webmaster(at)rossidesigns.net>

 Date:  Mon, 12 Jun 2000 21:39:16 -0400
 To:  "Steve Cost" <scost(at)neo.rr.com>,
<hwg-languages(at)hwg.org>
 References:  SERVER2 jeff rr
  todo: View Thread, Original
NO that much is FACT, ASP stores sessions in cookies, and unlike PHP you
don't have the option to change it.

Rossi Designs
PO Box 1084
Holly Hill, FL 32125-1084
Phone : (904) 226-8979
URL : http://rossidesigns.net
----- Original Message -----
From: Steve Cost <scost(at)neo.rr.com>
To: <hwg-languages(at)hwg.org>
Sent: Monday, June 12, 2000 5:49 PM
Subject: Re: ASP assistance please...


| Uh .. I thought session variables and objects are stored in server memory
| (for the life of the session), whereas cookies are stored on the client's
| machine/browser (for whatever life is specified in the response stmt.).
And
| cookies are not used to transfer parameters from page to page.  Am I
missing
| something?  Nik's response seems right on.
| Steve Cost
|
| ----- Original Message -----
| From: Rossi Designs <webmaster(at)rossidesigns.net>
| To: Krimm, Nik <nik.krimm(at)marchFIRST.com>; 'Geuka Amusa'
| <amusa(at)easeinternet.com>; <hwg-languages(at)hwg.org>
| Sent: Monday, June 12, 2000 3:00 PM
| Subject: Re: ASP assistance please...
|
|
| > The downside is that ASP sessions are stored in cookies.
| >
| > Rossi Designs
| > PO Box 1084
| > Holly Hill, FL 32125-1084
| > Phone : (904) 226-8979
| > URL : http://rossidesigns.net
| > ----- Original Message -----
| > From: Krimm, Nik <nik.krimm(at)marchFIRST.com>
| > To: 'Geuka Amusa' <amusa(at)easeinternet.com>; <hwg-languages(at)hwg.org>
| > Sent: Monday, June 12, 2000 12:06 PM
| > Subject: RE: ASP assistance please...
| >
| >
| > | You can do two things Geuka:
| > |
| > | 1.  You can use APS's session variables that will persist for the
user's
| > | whole session.
| > |
| > | to store:
| > | Session("form_result")=result_to_store
| > |
| > | to read:
| > | response.write Session("form_result")
| > |
| > | You can see more at:
| > | http://asp.superexpert.com/code/code.asp?cid=96
| > |
| > |
| > | 2.  You can use HTML hidden input type to pass the value from page to
| page
| > | (i.e. <input type="hidden" name="name" value="value">)
| > |
| > |
| > | Out of the two options, the ASP solution is more powerful, but if you
| are
| > | just passing a variable from one page to another, then the HTML hidden
| > works
| > | just as well.   ASP's session variable benefit is more pronounced when
| you
| > | have to pass the info over several pages...
| > |
| > | Hope this helps
| > |
| > |
| > | > Nik Krimm
| > |
| > |
| > |
| > |
| > | -----Original Message-----
| > | From: Geuka Amusa [mailto:amusa(at)easeinternet.com]
| > | Sent: Monday, June 12, 2000 9:54 AM
| > | To: hwg-languages(at)hwg.org
| > | Subject: ASP assistance please...
| > |
| > |
| > | Hello All,
| > |
| > | I need some ASP help.  I have a form that posts to an ASP page.  On
the
| > ASP
| > | page I am using the following code to grab the value of specific form
| > | fields:
| > |
| > | <% If Request.Form("xy") <> "" Then %><B><%= Request.Form("xy") %></B>
| > | <% End If %>
| > |
| > | This part works great.  Here's the problem.  The ASP page contains a
| form
| > | that submits some of the values that the above ASP code grabbed from
the
| > | previous page.  How do I include some of the previous page values as
| > hidden
| > | form fields so that they can be submitted by another form?
| > |
| > | Thanks
| > |
| > | Geuka
| > |
| >
| >
|
|
|

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA