473,406 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Can a new session be forced???

When IE file/new/window is used a new IE window is opened to the same session
as the original.

Is there a way to force a new session?

TIA

Jul 19 '05 #1
8 1355
not from the server (ASP)

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"yabba" <RE*********************@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
When IE file/new/window is used a new IE window is opened to the same session as the original.

Is there a way to force a new session?

TIA

Jul 19 '05 #2
yabba wrote on 15 jun 2004 in microsoft.public.inetserver.asp.general:
When IE file/new/window
= ctrl-N
is used a new IE window is opened to the same
session as the original.

Is there a way to force a new session?


<% Session.Abandon %> in the file ???
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #3
> <% Session.Abandon %> in the file ???

Followed by a redirect or reload. Session.Abandon doesn't take full effect
until the page goes out of scope.

A
Jul 19 '05 #4
How do I do it from the client?

I don't want to use session.abandon since that kills the original session.

TIA

In article <uA**************@tk2msftngp13.phx.gbl>, software_AT_darkfalz.com
says...

not from the server (ASP)

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"yabba" <RE*********************@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
When IE file/new/window is used a new IE window is opened to the same

session
as the original.

Is there a way to force a new session?

TIA



Jul 19 '05 #5
On Tue, 15 Jun 2004 16:19:54 -0400, "Aaron [SQL Server MVP]"
<te*****@dnartreb.noraa> wrote:
<% Session.Abandon %> in the file ???


Followed by a redirect or reload. Session.Abandon doesn't take full effect
until the page goes out of scope.

So, if I do something like:

Session("xyz") = blah
Session("123") = tralala
.... <do other stuff> ...
Session.Abandon
Responde.Redirect "SomePage.asp"

Will the two session variables not be cleared?

Jul 19 '05 #6
Luis wrote on 16 jun 2004 in microsoft.public.inetserver.asp.general:
On Tue, 15 Jun 2004 16:19:54 -0400, "Aaron [SQL Server MVP]"
<te*****@dnartreb.noraa> wrote:
<% Session.Abandon %> in the file ???


Followed by a redirect or reload. Session.Abandon doesn't take full
effect until the page goes out of scope.

So, if I do something like:

Session("xyz") = blah
Session("123") = tralala
... <do other stuff> ...
Session.Abandon
Responde.Redirect "SomePage.asp"

Will the two session variables not be cleared?


You better test that yourself.

can we hear your results?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #7
"Evertjan." <ex**************@interxnl.net> wrote in message news:<Xn********************@194.109.133.29>...
You better test that yourself.
can we hear your results?


Ok...
The session vars WILL be cleared after the Redirect to the
"SomePage.asp" page.
They WON'T be cleared while still on the same page that the
Session.Abandon command was issued.
Jul 19 '05 #8
Luis wrote on 17 jun 2004 in microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.net> wrote in message
news:<Xn********************@194.109.133.29>...
You better test that yourself.
can we hear your results?


Ok...
The session vars WILL be cleared after the Redirect to the
"SomePage.asp" page.
They WON'T be cleared while still on the same page that the
Session.Abandon command was issued.


Yes, that is according to specs. Sesion.abandon only executes when the page
is left. That means any next page will be a new session.

btw, it is not the sessionvariables that are cleared, but the session ends
when you fech a new page so the variables are not longer ACCESSABLE,
because they belong to another session, that is abandonned, and you are in
a newly started session.

If the old session persists internally till timout does not concern
you[r new page], even if/when session_onend() fires.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: peter | last post by:
I use session ID which is stored in a MySQL database and when the user click on the Logout button, the following is done $db = new DB(); $result = new DB_query($db, "delete from $db_session where...
8
by: Karen | last post by:
Hi there.... i got a quick one for you guys. i've this session variable that is updated by calling a server method (i set this value when the user hits a submit button in my form. The server...
4
by: | last post by:
What could the likely cause of a session value being lost when one navigates to another page and attempts to write that session out: Page 1 session("u_name") = oRS.fields("u_name") Navigate...
1
by: Scott Wickham | last post by:
I'm having a problem saving session information on one form and retrieving it on a subsequent form...for only one out of a number of users. Actually, I'm not absolutely certain it's a session...
5
by: fbwhite | last post by:
I know this issue has been brought up many times, but I have tried many of the solutions to no avail. I wanted to give my specific case to see if someone could be of any help. We are using the...
11
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
4
by: Malcolm Klotz | last post by:
Hello, I have a problem with ASP.Net: I have an ASP.Net application on a web farm, using SQL Server Session State Management, running on Windows 2000 (IIS 5) With session management on, a URL...
0
by: | last post by:
I'm scratching my head a bit about why this happens - can anyone shed any light? When a user goes through our online purchasing system and their session information gets recorded, when...
15
by: sb5309 | last post by:
When one uses CAPTCHA (form with verification code), a session is required to keep the session data. In examples that I have seen on the net, I did not see a session is closed after use. ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.