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

Session expired when redirecting to a full path.

So I have three ASPX files. File1.aspx has in the Page.Load handler:

Response.Redirect("http://www.domain.com/directory/file3.aspx")

File2.aspx has:

Response.Redirect("/directory/file3.aspx")

File3.aspx is just a blank page.

Then, in the Global.asax file, I have code in the Session.Onstart with a
breakpoint.

When I fire up the application in debug mode on File1.aspx, the
Session.Onstart gets fired TWICE. From File2.aspx, it gets fired only once.

Is this by design? If so, what changed? ASP 3.0 doesn't have this
limitation!

Thanks.

S
Nov 18 '05 #1
0 1037

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

Similar topics

0
by: Vijay | last post by:
Hi, Based on the session timeout, session will be expired. Timebeing , we are manually checking in the each page, whether the session is expired, If so,we are redirecting to common session...
3
by: Vijay | last post by:
Hi, Based on the session timeout, session will be expired. Timebeing , we are manually checking in the each page, whether the session is expired or not, If so,we are redirecting to common login...
1
by: Ather Ali Shaikh | last post by:
Hello I am using Forms Authentication. but the page is not redirect to desired login page after session is expired. When I debug the application. Session_end is called. In the Session_End method...
15
by: SFX | last post by:
If I have a session ID (string) can I somehow obtain the session object associated to that ID (it exist of course) ? I know this sounds wicked but I have a situation in which I have to make a...
14
by: Venkat Chellam | last post by:
I have a peculiar problem. I have a simple web application which loads some data from the oracle table and display in the datagrid in the webpage and datagrid has page enabled which shows 10 rows...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
5
by: Joe | last post by:
I have an application which runs in a non-secure environment. I also have an application that runs in a secure environment (both on the same machine). Is there any way to share the session data for...
4
by: moni | last post by:
Hi, I was hoping I could get a help on this one. I am creating a simple website, in which I have a login after which the user gets logged in using a session variable where I append the ID,eg ...
7
by: vjayis | last post by:
Hi I have created a loginpage in which the user enters their username and password., the page gets loaded and validates the input and then it is redirectesd to the seeeion page using html...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.