我如何保持最后搜索记录? [英] how can i maintain last searched record?

查看:100
本文介绍了我如何保持最后搜索记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好先生

i有一个关于用户位置的问题



i有两页浏览产品和第二编辑产品



在浏览中有搜索排序分页页面大小的功能,当用户点击行然后去编辑



我想要什么是当用户点击然后行然后转到编辑产品然后当用户按下后退按钮他最后做的任何搜索记录然后在被观看页面应该是他最后做的那样



任何建议欢迎我对这个可能维护会话或查询字符串的想法很少?

hello sir
i have one question regarding position of user

i have two pages viewed products and second edit products

in viewedit there is functionality like search sort paging pagesize and while user click on row then goes to edit

what i want is that when user click on then row then goes to the edit products then when user press back button whatever he have done at last suppose searched record then at viewedit page should be as it is what he have done last

any suggestions welcome i have very few idea about this one probably maintaining sessions or query string?

推荐答案

我通过会话数组完成了最好使用:)
i have done through session array it is best to use :)


你可以利用隐藏字段的帮助来存储你以前的信息。会话可以是一个很好的解决方案,但会话会给项目执行带来不必要的开销。如果有的话信息少o保持,然后会话就可以了。否则去隐藏的字段。
You can take help of hidden fields to store your previous information.Session can be a nice solution,but session puts unnecessary overhead on project execution.If there are less information to be kept,then session is okay.Otherwise go for hidden fields.


Hello Ankit,



在您的方案会话中保持最后记录状态的最佳方法。
Hello Ankit,

In your scenario session is best way to maintain last record state.


这篇关于我如何保持最后搜索记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆