开发者

How to set cookies with redirect in Pylons

开发者 https://www.devze.com 2022-12-20 10:32 出处:网络
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 redir

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

精彩评论

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

关注公众号