Skip to main content
Inspiring
January 16, 2007
Question

Ending/ Starting Session?

  • January 16, 2007
  • 3 replies
  • 289 views
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?
This topic has been closed for replies.

3 replies

Inspiring
January 17, 2007
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?
Inspiring
January 16, 2007

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?


Inspiring
January 16, 2007
I've heard of using

Session.Abandon

Where would this go and how does it work?