For Programmers: Free Programming Magazines  


Home > Archive > ASP > December 2006 > how can I create new session without destroy old session









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how can I create new session without destroy old session
ijevsk@gmail.com

2006-12-11, 6:57 pm

I have asp page of my system and when I click on the link I want to
open new login page.If I enter to the system throuth this page my old
session is overides. I wont that to have two pages with different
session and cookies. how can i do that in asp and asp.net

Evertjan.

2006-12-11, 6:57 pm

wrote on 11 dec 2006 in microsoft.public.inetserver.asp.general:

> I have asp page of my system and when I click on the link I want to
> open new login page.If I enter to the system throuth this page my old
> session is overides. I wont that to have two pages with different
> session and cookies. how can i do that in asp and asp.net
>


========== login.asp ==============

<% session.abandon %>
<title>Login page</title>
<a href='login.asp' target='_blank'>
New session on new page or new tab</a>
<br>
Session number is: <% = Session.SessionID %>
<br>Login html here ......

====================================

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com