开发者

Can I write a single-tab web application using IE8?

My collegues facing one problem with IE8. they have one page for Product selection. now if user opens the page and 开发者_StackOverflow社区selected one product as well as its some properties.. then he/she opes a new tab with same page... and selects a new product then the session used for page is shared by both the tab pages... so, can anybody provide solution to store data which can not be shared by 2 tabs in IE8


If web programming is done properly, it works exactly as you described.

This is known as a REST model. The identical web pages in your two tabs are a result of two GET operations to the same URL. When you submit one of the tabs, you do a POST. If you change the information in the second tab and submit it, another POST occurs, updating the database with the information from the second tab.

It's by design.

How I explained REST to my wife

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜