在数据库更新照片后,页面还是显示的旧照片

群里的某位兄弟遇到了一个问题:关于公民权身份数据 那个照片,在后台成功改变了某个人的照片,但在Component还是显示旧的照片。

他是直接更新PS_EMPL_PHOTO表上的image field的。但是并未更新PSIMAGEVER字段。

如下是援引网络上对PSIMAGEVER字段的解释:

http://tech.groups.yahoo.com/group/peoplesoft-fans/message/11071

Yes, I just took the PeopleTools II 8 Delta webcast class yesterday.  Here's what I have from the class:
 
It's a "version" field to be used with image fields to make them more efficient.  Their use will improve performance. The field is NOT required but highly recommended.  When an application user selects a page with an image field, the web server does the following:
 
- Checks PSIMAGEVER
- Makes sure only those image versions not already cached on the web server are downloaded
 
In order for this to work properly, PSIMAGEVER has to be hidden on the page.
 
Hope this helps....
 
Leslie Mathews
Northern Arizona University
PS Programmer
Box 5200
Flagstaff, AZ  86011
(928)523-6469
leslie.mathews@...
-----Original Message-----
From: Christenson, Amy [mailto:amy.christenson@...]
Sent: Wednesday, September 19, 2001 12:08 PM
To: 'peoplesoft-fans@yahoogroups.com'
Subject: Inserting PSIMAGEVER with an Image Field

Has anyone ever heard of the PSIMAGEVER field and why it should accompany and image field when inserted on a record or page?
 
Thanks!
 
Amy

读了这篇post后,就想到该用户是否更新了PSIMAGEVER这个字段。如果web server发现缓存中的version并未改变就不需要重新加载图片了。所以要想页面正常显示新照片,就必须更新这个字段。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值