Emulating IE5 Form persistance in IE4 - Emulating IE5 Form persistance in IE4

They have: 76 posts

Joined: Apr 1999

Is there any way to emulate IE5's cool form persistance feature in IE4? In IE5 through the use of a style command (savesnapshot) and an id of persistform the user is able to save the htm file WITH the form values intact.

I work for a large retail company and upgrading all users to IE5 isn't an option (believe me I've tried!!)

I know I can probably get around this by sending the form values to an ASP and duplicate the form with the values inserted (in source), but my problem is the file has to be an htm file not an asp. Is there a way for the ASP to create the htm form with the values in it?

I've tried cookies but they don't work since they only put the values of the text boxes on the screen and not in the source, these forms will be emailed all over the place so I can't rely on cookies.

I'd love to hear any suggestions!

Thanks,
PJ

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

You may be able to do it with a CGI script. I'll look into the style sheets and see what I can find.

I think the CGI would be better if there is a way to do it. You might want to ask in the CGI forum about such a script. Smiling

----------
John Pollock
http://www.pageresource.com

They have: 5,633 posts

Joined: Jan 1970

i think it should work with CGI, could you please post again in the CGI/Perl forum? Meanwhile i'll see what i can do for you.....Smiling

They have: 5,633 posts

Joined: Jan 1970

You may want to try cookies using CGI.

It would be something like:

print "Set-cookie: whatevername=whatevervalue; expires=Wednesday, 20-Dec-99 23:59:59 GMT;\n";

And then you can access the cookie using the enviromental variable 'HTTP_COOKIE' ($ENV{HTTP_COOKIE} )

Cheers,

----------
wdresources
http://www.wdresources.com

They have: 76 posts

Joined: Apr 1999

Thanks guys, I appreciate the effort!

PJ

They have: 4 posts

Joined: Feb 1999

Easy in ASP
Use the Scripting.FileSystem object to write out an HTM file on your server, includiung all your variables, then do Response.Redirect to that file.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.