Going "Back" in server-side script 
Author Message
 Going "Back" in server-side script

I have a need to go "back" from server-side script (similar to the
history.back on the client-side).  I have done a Redirect to the
Referrer; but, that refreshes the screen, because the page I am going
back to is an ASP form.

I don't want the refresh.  I want to keep the values in my form.  Any

TIA



Mon, 18 Jun 2001 03:00:00 GMT  
 Going "Back" in server-side script
for scaliblity, I suggest using a dictionary... Just set the dictionary
object to nothing in the global.asa sesion end event.
another way, if the page you came from is a result of your form, then pass
paramerter as cgi(somepage.asp?parm1=something) from the form and then back.

Quote:

>I have a need to go "back" from server-side script (similar to the
>history.back on the client-side).  I have done a Redirect to the
>Referrer; but, that refreshes the screen, because the page I am going
>back to is an ASP form.

>I don't want the refresh.  I want to keep the values in my form.  Any

>TIA

begin 666 BJ Freeman.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..D9R965M86X[0DH-"D9..D)*
M($9R965M86X-"D%$4CM73U)+.T5.0T]$24Y'/5%53U1%1"U04DE.5$%"3$4Z

M.U=!.SDX-#8W.U5N:71E9"!3=&%T97,-"DQ!0D5,.U=/4DL[14Y#3T1)3D<]



M04E,.U!2148[24Y415).150Z8F9R965 9G)E92UM86XN8V]M#0I2158Z,3DY

`
end


Mon, 18 Jun 2001 03:00:00 GMT  
 Going "Back" in server-side script
Could you elaborate on the use of the dictionary object?  I cannot find
any documentation on this object.

TIA,
Daryl Cammack

Quote:

> for scaliblity, I suggest using a dictionary... Just set the dictionary
> object to nothing in the global.asa sesion end event.
> another way, if the page you came from is a result of your form, then pass
> paramerter as cgi(somepage.asp?parm1=something) from the form and then back.


> >I have a need to go "back" from server-side script (similar to the
> >history.back on the client-side).  I have done a Redirect to the
> >Referrer; but, that refreshes the screen, because the page I am going
> >back to is an ASP form.

> >I don't want the refresh.  I want to keep the values in my form.  Any

> >TIA

>                    Name: BJ Freeman.vcf
>     Part 1.2       Type: unspecified type (application/octet-stream)
>                Encoding: x-uuencode



Fri, 22 Jun 2001 03:00:00 GMT  
 Going "Back" in server-side script
<OBJECT RUNAT=server PROGID=Scripting.Dictionary id=OBJECT1> </OBJECT>
http://msdn.microsoft.com/scripting/

Quote:

>Could you elaborate on the use of the dictionary object?  I cannot find
>any documentation on this object.

>TIA,
>Daryl Cammack


>> for scaliblity, I suggest using a dictionary... Just set the dictionary
>> object to nothing in the global.asa sesion end event.
>> another way, if the page you came from is a result of your form, then
pass
>> paramerter as cgi(somepage.asp?parm1=something) from the form and then
back.


>> >I have a need to go "back" from server-side script (similar to the
>> >history.back on the client-side).  I have done a Redirect to the
>> >Referrer; but, that refreshes the screen, because the page I am going
>> >back to is an ASP form.

>> >I don't want the refresh.  I want to keep the values in my form.  Any

>> >TIA

>>                    Name: BJ Freeman.vcf
>>     Part 1.2       Type: unspecified type (application/octet-stream)
>>                Encoding: x-uuencode

begin 666 BJ Freeman.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..D9R965M86X[0DH-"D9..D)*
M($9R965M86X-"D%$4CM73U)+.T5.0T]$24Y'/5%53U1%1"U04DE.5$%"3$4Z

M.U=!.SDX-#8W.U5N:71E9"!3=&%T97,-"DQ!0D5,.U=/4DL[14Y#3T1)3D<]



M04E,.U!2148[24Y415).150Z8F9R965 9G)E92UM86XN8V]M#0I2158Z,3DY

`
end


Fri, 22 Jun 2001 03:00:00 GMT  
 Going "Back" in server-side script
I think he's saying that you will need to store the Response.Form
information in a Dictionary object with Session scope, then reload the form
with those values when sending the referring page from the server.  Pretty
complicated.

Instead of a redirect, could you send a new page with a client-side script
that does a "history(-1)" (I don't know the exact JavaScript syntax)?

--
-----
Joshua Yeidel
Center for Teaching and Learning
Washington State University
Pullman, WA 99164-1223

Quote:

>Could you elaborate on the use of the dictionary object?  I cannot find
>any documentation on this object.

>TIA,
>Daryl Cammack


>> for scaliblity, I suggest using a dictionary... Just set the dictionary
>> object to nothing in the global.asa sesion end event.
>> another way, if the page you came from is a result of your form, then
pass
>> paramerter as cgi(somepage.asp?parm1=something) from the form and then
back.


>> >I have a need to go "back" from server-side script (similar to the
>> >history.back on the client-side).  I have done a Redirect to the
>> >Referrer; but, that refreshes the screen, because the page I am going
>> >back to is an ASP form.

>> >I don't want the refresh.  I want to keep the values in my form.  Any

>> >TIA

>>                    Name: BJ Freeman.vcf
>>     Part 1.2       Type: unspecified type (application/octet-stream)
>>                Encoding: x-uuencode



Mon, 25 Jun 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Disabling "BACK"/"FORWARD" buttons

2. Disabling "BACK"/"FORWARD" buttons

3. CreateObject("Excel","//server"), MsgBox output

4. Client Side "Check All" script

5. CreateObject("Excel","//server"), MsgBox output

6. Client side scripting / server side scripting

7. Accessing Data generated with client-side script from server-side script

8. Calling Server Side Script from Client Side Script

9. Call Server Side Script From Client Side Script

10. Client side scripting / server side scripting

11. Problem with Server.CreateObject("Scripting.Dictionary")...

12. Set fso = Server.CreateObject("Scripting.FileSystemObject")

 

 
Powered by phpBB® Forum Software