开发者

How to set cookies with redirect in Pylons

In light of the cookie-handling bugs affecting Safari and Chrome (see this thread), and Pylons implementation of redirect_to as an exception, is it possible to reliably set a tracking cookie and redirect at the same time? Is the ME开发者_StackOverflow中文版TA refresh method looked down upon?


Drilling down a bit, the webkit folks say it's not their problem, so the possible solutions aren't as pretty. One possible ugly solution: setting the tracking information in the beaker session (if you're using beaker?) and retrieving it from the page that you're redirecting to, setting a cookie at that later stage.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜