Professional Web Applications Themes

ASP and Back Button problem. - Web Design

Hello, I am wondering if someone from the group can help, this is an annoying problem. 1: PAGEA has FORM1 with FIELD1, FIELD2 and FIELD3. 2: PAGEA POSTS FORM CONTENTS TO PAGEB 3: PAGEB has <% session("FIELD1")=Request.Form("FIELD1") session("FIELD2")=Request.Form("FIELD2") session("FIELD3")=Request.Form("FIELD3") %> 4: PAGEB has a link to PAGEC. Now when the user visits PAGEC, and THEN clicks the browser BACK button, the session which was earlier stored is lost. This is completely annoying. I have thought about using JavaScript to store the session values, for example: <input type="text" name="FIELD1" onBlur='<Session("FIELD1"%>=doent.form1.field.v alue'> (May not work as not tried yet) IS there another ...

  1. #1

    Default ASP and Back Button problem.

    Hello,

    I am wondering if someone from the group can help, this is an annoying
    problem.

    1: PAGEA has FORM1 with FIELD1, FIELD2 and FIELD3.
    2: PAGEA POSTS FORM CONTENTS TO PAGEB
    3: PAGEB has
    <%
    session("FIELD1")=Request.Form("FIELD1")
    session("FIELD2")=Request.Form("FIELD2")
    session("FIELD3")=Request.Form("FIELD3")
    %>
    4: PAGEB has a link to PAGEC.

    Now when the user visits PAGEC, and THEN clicks the browser BACK button, the
    session which was earlier stored is lost. This is completely annoying.

    I have thought about using JavaScript to store the session values, for
    example:
    <input type="text" name="FIELD1"
    onBlur='<Session("FIELD1"%>=doent.form1.field.v alue'>
    (May not work as not tried yet)

    IS there another way around this problem?

    Thanks,

    Gary.



    GW Guest

  2. #2

    Default Re: ASP and Back Button problem.

    microsoft.public.inetserver.asp.general


    --
    David Bartosik - Microsoft MVP
    Visit [url]www.davidbartosik.com[/url]
    for Publisher and Web Design
    Tips and How-to's.


    "GW" <garyspam.com> wrote in message
    news:njuqb.2115$gb2.17932522news-text.cableinet.net...
    > Hello,
    >
    > I am wondering if someone from the group can help, this is an annoying
    > problem.
    >
    > 1: PAGEA has FORM1 with FIELD1, FIELD2 and FIELD3.
    > 2: PAGEA POSTS FORM CONTENTS TO PAGEB
    > 3: PAGEB has
    > <%
    > session("FIELD1")=Request.Form("FIELD1")
    > session("FIELD2")=Request.Form("FIELD2")
    > session("FIELD3")=Request.Form("FIELD3")
    > %>
    > 4: PAGEB has a link to PAGEC.
    >
    > Now when the user visits PAGEC, and THEN clicks the browser BACK button,
    the
    > session which was earlier stored is lost. This is completely annoying.
    >
    > I have thought about using JavaScript to store the session values, for
    > example:
    > <input type="text" name="FIELD1"
    > onBlur='<Session("FIELD1"%>=doent.form1.field.v alue'>
    > (May not work as not tried yet)
    >
    > IS there another way around this problem?
    >
    > Thanks,
    >
    > Gary.
    >
    >
    >

    David Bartosik - MS MVP Guest

Similar Threads

  1. Browser Back button problem
    By GMK in forum ASP.NET Security
    Replies: 6
    Last Post: April 25th, 01:42 PM
  2. Page has Expired, BACK-button -problem
    By Jarkko Kähkönen in forum PHP Development
    Replies: 2
    Last Post: October 1st, 10:13 PM
  3. [PHP] Session problem in back button
    By Murugesan in forum PHP Development
    Replies: 1
    Last Post: August 26th, 05:13 PM
  4. back button problem
    By Hypo in forum ASP.NET General
    Replies: 3
    Last Post: July 24th, 09:19 PM
  5. Back button on the browser problem
    By shimonsim@talamus.com in forum ASP.NET General
    Replies: 3
    Last Post: June 29th, 12:26 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139