• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to Kill a Session

New Here ,
Sep 14, 2006 Sep 14, 2006

Copy link to clipboard

Copied

When a user logs out of an application with session variables enabled, I can basically delete the contents of the session, however, session tracker will show the id of that session with the session structure empty.

The problem is that if a user logs out and then attempts to log back in using the same browser instance, CF sees the session as active and doesn't execute the login procedure. If they close their browser and re-open it, then CF treats it as a new login.

Is there a way to completely kill a session so that the user can login using the same browser as they logged out before CF finally kills off the dead session some time later?
TOPICS
Advanced techniques

Views

256

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 14, 2006 Sep 14, 2006

Copy link to clipboard

Copied

you should try searching this forum for an answer before posting a question. run a search on "cflogin" and you will be presented with SEVERAL solutions, all with good explanations.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 14, 2006 Sep 14, 2006

Copy link to clipboard

Copied

LATEST
Tried this?

<cfset StructDelete(SESSION, "sessionName")>

--
Ken Ford
Adobe Community Expert


"CNaser" <webforumsuser@macromedia.com> wrote in message
news:eebn73$k7a$1@forums.macromedia.com...
> When a user logs out of an application with session variables enabled, I
> can
> basically delete the contents of the session, however, session tracker
> will
> show the id of that session with the session structure empty.
>
> The problem is that if a user logs out and then attempts to log back in
> using
> the same browser instance, CF sees the session as active and doesn't
> execute
> the login procedure. If they close their browser and re-open it, then CF
> treats it as a new login.
>
> Is there a way to completely kill a session so that the user can login
> using
> the same browser as they logged out before CF finally kills off the dead
> session some time later?
>


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation