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

Ending/ Starting Session?

LEGEND ,
Jan 16, 2007 Jan 16, 2007

Copy link to clipboard

Copied

I have this site that when they get to a certain point, I want their
session to end so they can't go through the whole process with the same
session.

First, how can I end their session?

Second, how do I force a new session to begin?

Is there something that can be set on the server so that when people hit
a certain page, a new session is started?
TOPICS
Server side applications

Views

265
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 ,
Jan 16, 2007 Jan 16, 2007

Copy link to clipboard

Copied

I've heard of using

Session.Abandon

Where would this go and how does it work?

Votes

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 ,
Jan 16, 2007 Jan 16, 2007

Copy link to clipboard

Copied


OK - what are you using ASP, .net ?
Session.abandon is pretty simple, it kills all session stuff (like
variables)

<% Session.Abandon %>

On a page would literally terminate the session
Starting a session is automatic, no action neccesary ?
Gerry

http://www.Mixit.TV


"Lee" <lee_nospam_@artjunky.com> wrote in message
news:eojhgm$l6g$1@forums.macromedia.com...
> I've heard of using
>
> Session.Abandon
>
> Where would this go and how does it work?


Votes

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 ,
Jan 17, 2007 Jan 17, 2007

Copy link to clipboard

Copied

LATEST
Ok, the "abort...thing worked. When I tried it before, I wasn't doing it
right. Consequently, it does pretty much what I want.

However, they can hit the "back button."

I know there's not a good way to keep them from hitting back button but
is there a "standard" method of keeping people from going back?

Votes

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