473,657 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Closing the session between asp and asp.net application.

I have a login page written in ASP.

Once the user logs in to the system, by clicking the certain link they can
navigate to the purchase module written in ASP.Net. In the purchase module
the user can logout.

Once the user logs out I am calling the Session.Abandon () and redirecting
the user to the login page written in asp application. How to make sure the
ASP part of the application abandons the session.

I am using .Net Frame 1.1

Thank you very much for your response.

Hill
Nov 19 '05 #1
2 2284
> Once the user logs out I am calling the Session.Abandon () and redirecting
the user to the login page written in asp application. How to make sure
the
ASP part of the application abandons the session.
After calling Session.Abandon , Redirect to an ASP page that calls
Session.Abandon . Then that ASP page can redirect to the login page if you
wish.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Hillary Hill" <Hi************ *@hotmail.com> wrote in message
news:u0******** *****@TK2MSFTNG P14.phx.gbl...I have a login page written in ASP.

Once the user logs in to the system, by clicking the certain link they can
navigate to the purchase module written in ASP.Net. In the purchase module
the user can logout.

Once the user logs out I am calling the Session.Abandon () and redirecting
the user to the login page written in asp application. How to make sure
the
ASP part of the application abandons the session.

I am using .Net Frame 1.1

Thank you very much for your response.

Hill

Nov 19 '05 #2
Thanks for the reply.
Makes sense.
Hill
"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:uZ******** *****@TK2MSFTNG P15.phx.gbl...
Once the user logs out I am calling the Session.Abandon () and redirecting the user to the login page written in asp application. How to make sure
the
ASP part of the application abandons the session.


After calling Session.Abandon , Redirect to an ASP page that calls
Session.Abandon . Then that ASP page can redirect to the login page if you
wish.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Hillary Hill" <Hi************ *@hotmail.com> wrote in message
news:u0******** *****@TK2MSFTNG P14.phx.gbl...
I have a login page written in ASP.

Once the user logs in to the system, by clicking the certain link they can navigate to the purchase module written in ASP.Net. In the purchase module the user can logout.

Once the user logs out I am calling the Session.Abandon () and redirecting the user to the login page written in asp application. How to make sure
the
ASP part of the application abandons the session.

I am using .Net Frame 1.1

Thank you very much for your response.

Hill


Nov 19 '05 #3

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

Similar topics

0
1461
by: Gleep | last post by:
Hey PHP Gurus, I have some complex scripts that work fine. I have a system where sessions are validated on every page of my application to keep them secure. Everything runs fine when I test and code things. But I am also fanatical about updating the browser for security patches and remove all spyware, virues etc.. But some of my clients are not that savy and that leads me to my first question. Occasionally I have a client complain that...
22
2872
by: Theo | last post by:
Question for the group The authentication system for the site Im working on seems to function properly and all is good. A session keeps track of everything and a cookie is used to accept or deny access... sounds as it should be I hope. Then when all is done logging out destroys everything and the pages are no longer accessable. Good so far. But two things come to mind: one is preventing multiple logins of the user/password. The...
11
5065
by: David Lozzi | last post by:
Hello All, I am having an issue with thus far one computer on my client's web site. If the user loads the shopping cart and then closes all browser windows, then opens them back up, goes back to the site, the shopping cart information is there! The shopping cart info is only loaded into a session variable! There are no cookies on the site to store this information. Am I mistaken in believing when a browser window is closed that the session...
1
2241
by: Chirag Malvi | last post by:
hello all, I am developing the web application using ASP.net and VS.2003 IDE. here is the situation which i want to implement. 1) User is browsing some webform. I want to trap this event. this i am doing with Session_Onstart. 2) Now when user is exiting i.e. closing the browser window i want to trap this event and perform some operation. I tried using Session_OnEnd event,but
0
1575
by: Winshent | last post by:
this code opens the workbook.. either protects or unprotects a sheet.. then saves.. so can write to it.. it unprotects then saves fine.. then writes to it no prob.. it resets the password again no prob.. but on close of the workbook object.. it goes into the workbook_beforeclose event within the vba of the file!! at this point it fails for no apparent reason as this event works perfectly when closing through excel !!
5
1441
by: Russell | last post by:
Hi all, I have a web page(a) that has a link to another web page(b). Now, on the page load event of web page(b), I am doing the following: Response.redirect("./test.pdf") This pdf, if the user copies the url, can go back to it after they have logged out of my web site. I need to delete this file. I need to find a way to detect the web page is closing so I can delete the pdf file.
3
2660
by: Andy G | last post by:
I have some code that hits a DB2 database from my ASP.NET application. I haven't been able to exactly nail it down but my connections are not getting closed for some reason. I look at the database and it's like everytime I click a button in the ASP.NET applicaiton and it runs a database command it leaves the connection open. The DBA's are not happy with me right now. Luckily I'm still in test. Does anyone have any idea why the below...
5
2686
by: Andy G | last post by:
Is it possible to force a new session id without the client closing the browser? I'm using session id in my database and I need a new session id when a client clicks a certain link. I know I could use my own id in the database but I was wondering if the the above is possible. I tried using Session.Abort() and Session.Clear() and used both of them together and the session id still persists. Thanks.
1
2475
by: srinivas | last post by:
Hi I'm having a asp.net page.When i'm clicking on the Logout hyperlink i want to close the window and clear the session. Actually i have taken LinkButton control and written a javascript function to close the window.I have attached Javascript function to link button in the page load using attributes.add method. In the code behind of the LinkButton click i have mentioned Session("userid")=Nothing. But when i'm running my page Java script...
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6163
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1604
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.