[thelist] Filled form field on back button

Flavia Tarzwell (FayeC) ftarzwell at fayec.com
Wed Dec 11 15:40:00 CST 2002

Tony Light wrote:

> Sounds like a job for a cookie to me.
> When the user logs in, write a cookie containing the variables you
> need populating.
> You could use a server-side language to do this on receipt of the
> login form,
> or you could use Javascript triggered by submitting the form.
> Whenever the login page is shown, use Javascript to check for the
> existence of the cookie.
> If it exists populate the fields.
> Usual proviso - it obviously will not help people with client-side
> scripting turned off.
> HTH.
> Tony.

Thanks Tony :)
I used the server-side language to set a cookie and then populate the
fields with it.
It works.....my brain was just not working right today.....


Flavia Tarzwell (FayeC)

More information about the thelist mailing list