CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Again: doesn´t session.abandon work?

Print topic Send  topic

Author Message
jimmy cortes
Posted: 03/22/2001, 8:11 AM

Again, sorry:...

I asked to You:

"bookstore Demo, ASP no templates.

i know session(userID) is not equals to session.sessionid.
session(userID) is the member_id and session.sessioniid is generated by the
IIS.

Every time someone stats a session (logs in), I save the session.sessionid
(done). Now when he/she logs out , I need to start a new session.sessionid.
I have tried session.abandon, but it seems it doesn´t work..!!!
As I told you I´m just a newbie.

How can I kill the session.sessionid after a log out?"


You answered:

"In your login forms you may open "Logout"
event and try write something like :
session.Abandon"

now:

I did it, but It seems it doesn´t work in login.asp:

Case "logout"

session("userID ")=Emmty
session("userrights")=Empty
session.abandon:::::::::so on

I read the session.sessionid and It has got the same value. It only changes
when the browser is closed and open again.

Thanks for your answer,

Jimmy


Alexey Alexapolsky
Posted: 03/23/2001, 7:57 AM

Please explain thouroughly what you need this sessionid for ?
It's only used by system , and it's extremely rarely used at
application level. MSDN article states :

You should not use the SessionID property to generate primary key values for
a database application. This is because if the Web server is restarted, some
SessionID values may be the same as those generated before the server was
stopped. Instead, you should use an auto-increment column data type, such as
IDENTITY with MicrosoftR SQL Server, or COUNTER with MicrosoftR Access.

--
Regards,
Alexey
CodeCharge Support


jimmy cortes <jacoper@usa.net> wrote in message
news:99d87n$brn$1@mail.tankhill.com...
> Again, sorry:...
>
> I asked to You:
>
> "bookstore Demo, ASP no templates.
>
> i know session(userID) is not equals to session.sessionid.
> session(userID) is the member_id and session.sessioniid is generated by
the
> IIS.
>
> Every time someone stats a session (logs in), I save the session.sessionid
> (done). Now when he/she logs out , I need to start a new
session.sessionid.
> I have tried session.abandon, but it seems it doesn´t work..!!!
> As I told you I´m just a newbie.
>
> How can I kill the session.sessionid after a log out?"
>
>
> You answered:
>
> "In your login forms you may open "Logout"
> event and try write something like :
> session.Abandon"
>
> now:
>
> I did it, but It seems it doesn´t work in login.asp:
>
> Case "logout"
>
> session("userID ")=Emmty
> session("userrights")=Empty
> session.abandon:::::::::so on
>
> I read the session.sessionid and It has got the same value. It only
changes
> when the browser is closed and open again.
>
> Thanks for your answer,
>
> Jimmy
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.