473,383 Members | 1,762 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,383 software developers and data experts.

session vars

Al
Is possible to terminate all session variable created
without closing the browser

I do not want users to click on BACK button on browser or paste the url link
in the http:// and shows the record displayed after logout. This works fine
if users close the Browser.

Jul 22 '05 #1
4 2846
It sounds from your question that you actually want to end the session,
which will in turn destroy all the session variables. Use Session.Abandon.
As far as using the back button, the values will still display in the page
unless the page is set not to cache.
(http://www.aspfaq.com/show.asp?id=2022)

Ray at work

"Al" <jo*****@msn.com> wrote in message
news:ux**************@TK2MSFTNGP11.phx.gbl...
Is possible to terminate all session variable created
without closing the browser

I do not want users to click on BACK button on browser or paste the url link in the http:// and shows the record displayed after logout. This works fine if users close the Browser.

Jul 22 '05 #2
Al wrote on 13 dec 2004 in microsoft.public.inetserver.asp.general:
Is possible to terminate all session variable created
without closing the browser
Removing all session variables can be done by

Session.Contents.RemoveAll()

or more drastically by

Session.abandon.
I do not want users to click on BACK button on browser or paste the
url link in the http:// and shows the record displayed after logout.
This works fine if users close the Browser.


Session variables live on the server only and have nothing to do with your
clientside problem.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '05 #3
Al
I this Session.abandon. already but still don't work
if I press the BACK botton it display the record.
and it only get destroyed when user close the Browser.

Thanks Again

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Al wrote on 13 dec 2004 in microsoft.public.inetserver.asp.general:
Is possible to terminate all session variable created
without closing the browser


Removing all session variables can be done by

Session.Contents.RemoveAll()

or more drastically by

Session.abandon.
I do not want users to click on BACK button on browser or paste the
url link in the http:// and shows the record displayed after logout.
This works fine if users close the Browser.


Session variables live on the server only and have nothing to do with your
clientside problem.

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

Jul 22 '05 #4
Did you read the the second half of my post?

Ray at work

"Al" <jo*****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I this Session.abandon. already but still don't work
if I press the BACK botton it display the record.
and it only get destroyed when user close the Browser.

Thanks Again

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Al wrote on 13 dec 2004 in microsoft.public.inetserver.asp.general:
Is possible to terminate all session variable created
without closing the browser


Removing all session variables can be done by

Session.Contents.RemoveAll()

or more drastically by

Session.abandon.
I do not want users to click on BACK button on browser or paste the
url link in the http:// and shows the record displayed after logout.
This works fine if users close the Browser.


Session variables live on the server only and have nothing to do with your clientside problem.

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


Jul 22 '05 #5

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

Similar topics

0
by: james | last post by:
I am new to php and need some help getting the session variables into include files. (after-thought, Sorry for the drawn out post but I really, really need help....;) Here's what I'm doing.. ...
13
by: Mimi | last post by:
Hello, I am having trouble using the session vars in PHP 4.3.9 OS: Win XP Prof Web Server IIS (is local and there are no links to other servers from the web pages I work on) Browser: IE 6.0 ...
8
by: ndsoumah | last post by:
hello guys I'm trying to get access to variables I put in a session variable from another page and it fails... here's the exact situation main file page1.php
9
by: Pack Fan | last post by:
I've noticed that session variables will persist on Mac IE even after all browser windows have been closed. One must quit the program to clear the session variables. This presents a security risk...
1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
19
by: Paul Yanzick | last post by:
Hello, I am trying to develop a book tracking application for my capstone in school, and am running into a problem. The application is an ASP.Net application written in C#. The first page you...
3
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net...
5
by: VB Programmer | last post by:
I often use session variables to store the user's security level, and other important info. How secure are session variables? Can someone decrypt it and get the information? (This would be...
13
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i...
2
by: Jeff | last post by:
....still new to .net 2005 using VB. Do I understand correctly that the value of a session variable is actually stored in the server's ram, but relies on the asp.net session ID cookie that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.