Results 1 to 4 of 4

Thread: passing information from one page to another

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    89
    Hi in my web application we are asking users for some informaiton on page 1 then directing them to page 2 then page 3 then on page 4 all the information is being loaded into a database. Right now everything is in session variables but we are afraid of overloading the server and of other performance issues. We were thinking of having hidden text fields and doing a request.form("field") from the pervious page and so on. BUt by the last page there would be about 50-60 hidden fields loaded with data, is this effeicent, what are other ways to pass information along form one page to another, any tips would be appreciated. We cant use the querry string because the information is sensitve and because it would be more then 255 characters.

    Regards,

    Scott

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Location
    Montreal, Qc - Canada
    Posts
    18

    Wink

    I think - and I may say I'm sure - that you have all
    existing solutions in your hands. The only two ways of
    keeping trace of an user and some informations with him is
    by using cookies (by the way, all information put with
    "session" in stored in a cookie) or web forms.

    In any case, information sent to the server will entirely be
    sent back (with or by a web page). So there's not so much
    difference between them. What will now make the difference
    is the way this data is sent to the client.

    You will then understand that the best way is by using the
    actual "session", as you won't have to put the data in
    pages (using response.write or something else) again and
    again ... I wish it'll help.

    Icccy

  3. #3
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    I've used both session variables and the URL querystring.

    If you do use session variables, make sure you use
    Code:
    session.abandon
    right after you've used the
    variables and are done with them. This will destroy the
    objects in the session variables and also, it realeases
    their resources.

    You could also use the querystring and then encrypt the URL.

    [Edited by compuGEEK on 07-31-2000 at 01:22 PM]

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    89
    Thanks for all the ideas, ended up passing the information by posting into hidden text fields on the next page, until the informaiton is used in the last page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width