开发者

expired cookies in browser and frames

I have some doubts regarding cookies and frames in web pages . Consider the below scenario.

Say an application sets a cookie when a user successfully finishes his login .The application will show the url , onl开发者_C百科y when the user goes with a cookie . User visits some page in application and I do a bookmark of a particular frame in that page. Now user logs out. The application makes the cookie as expired.

Now if I am launching the bookmarked url ( url of a frame in the previously visited page) , Will that cookie get passed to server ?

In short , when I do bookmark , will the cookie associated with that page , get cached in browser ?


Expired cookies should be deleted by the browser, since they're expired & deleted they won't cache with your bookmarks. You probably shouldn't just use cookies if this needs to be really secure because they're easy to hijack; also you should try to avoid using frames if possible (they're deprecated in html5, bad UX)...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜