backplanespecs / backplane-core

Backplane Core Specification
16 stars 3 forks source link

Reset session after calling resetCookieChannel #4

Open zbskii opened 12 years ago

zbskii commented 12 years ago

This patch re-initializes the backplane session after resetCookieChannel is called. This handles the case where we log a user out, but then immediately want to be able to log them in again on the same page - otherwise resetCookieChannel leaves the Backplane object in a broken state where getChannelID() returns a channel with false on the end: eg http://foo..../channel/false.

-Brett