Form fields caching in browser

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Form fields caching in browser

Phani S
Hi all,
     In all pages(XHTML+XForms) I defined metatags not to cache any page content like
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
Here because of this I am getting 2 problems.
1. When the user saves the login credentials it is not allowing to submit the saved details,
2. same problem is happening in other form fields.

Here how can we tell the browser not to cache any XForms field except the login credentials.
I want no from field to be cached other than credentials. If I use above meta tags the browser (Firefox) is caching the fields but not allowing the data to be used.

How can I solve this problem.

--
Regards
Phani. S



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Form fields caching in browser

Erik Bruchez
Administrator
Phani,

Maybe try:

<xforms:input xxforms:autocomplete="false">

This will tell the browser not to autocomplete the field.

-Erik

On Mon, Oct 11, 2010 at 11:47 PM, Phani Sajja <[hidden email]> wrote:

> Hi all,
>      In all pages(XHTML+XForms) I defined metatags not to cache any page
> content like
>
> <meta http-equiv="Cache-Control" content="no-cache" />
> <meta http-equiv="Pragma" content="no-cache" />
>
> Here because of this I am getting 2 problems.
> 1. When the user saves the login credentials it is not allowing to submit
> the saved details,
> 2. same problem is happening in other form fields.
>
> Here how can we tell the browser not to cache any XForms field except the
> login credentials.
> I want no from field to be cached other than credentials. If I use above
> meta tags the browser (Firefox) is caching the fields but not allowing the
> data to be used.
>
> How can I solve this problem.
>
> --
> Regards
> Phani. S
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws