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

Session_Start method keeps firing


Hello,

I have written a reverse proxy that redirects some of the portal's pages on
a different (remote) server. The communication occurs in HTTPS. When a page,
which contains several controls, gets executed and is redirected on the
remote server, the "Session_Start" method fires for each single control on
the page. This means that the content of the Session is never the same,
since a new SessionID is created. Why is that? In my reverse proxy I am not
handling cookies, since our application is cookieless. Could this be the
cause of the problem?

Any suggestion is greatly appreciated. I'm really stuck on this one...

Thanks.
Mike


Oct 1 '07 #1
2 1349
the session id is either in a cookie, or in the url. your proxy will
have to pass along the cookies and remap the domain names.

-- bruce (sqlwork.com)

Mike wrote:
Hello,

I have written a reverse proxy that redirects some of the portal's pages on
a different (remote) server. The communication occurs in HTTPS. When a page,
which contains several controls, gets executed and is redirected on the
remote server, the "Session_Start" method fires for each single control on
the page. This means that the content of the Session is never the same,
since a new SessionID is created. Why is that? In my reverse proxy I am not
handling cookies, since our application is cookieless. Could this be the
cause of the problem?

Any suggestion is greatly appreciated. I'm really stuck on this one...

Thanks.
Mike

Oct 1 '07 #2

OK. Sorry for the silly question, but what does "remap the domain names"
mean? How does it work? Is there any reference to articles or resources that
I can check?

"bruce barker" <no****@nospam.comschrieb im Newsbeitrag
news:uB**************@TK2MSFTNGP04.phx.gbl...
the session id is either in a cookie, or in the url. your proxy will have
to pass along the cookies and remap the domain names.

-- bruce (sqlwork.com)

Mike wrote:
>Hello,

I have written a reverse proxy that redirects some of the portal's pages
on a different (remote) server. The communication occurs in HTTPS. When a
page, which contains several controls, gets executed and is redirected on
the remote server, the "Session_Start" method fires for each single
control on the page. This means that the content of the Session is never
the same, since a new SessionID is created. Why is that? In my reverse
proxy I am not handling cookies, since our application is cookieless.
Could this be the cause of the problem?

Any suggestion is greatly appreciated. I'm really stuck on this one...

Thanks.
Mike
Oct 2 '07 #3

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

Similar topics

1
by: Bill Manring | last post by:
The startup page for my ASP.NET application is an HTML frames page with two frames. This seems to cause the Session_Start event in the Global.asax file to fire twice. When I change the startup...
1
by: jcode | last post by:
I have an ASPNET application that has worked correctly on couple of servers. I have just deployed it to another server and cannot resolve an issue. It appears as if the Session_Start is not...
3
by: Joe Befumo | last post by:
I'm workinbg in Visual Studio 2003. I'm experimenting with creating a session variable, and from all I can gather. the Session_Start event is not firing. In Global.asx.vb, in the Session Start...
4
by: Joe Befumo | last post by:
I'm workinbg in Visual Studio 2003. I'm experimenting with creating a session variable, and from all I can gather. the Session_Start event is not firing. In Global.asx.vb, in the Session Start...
0
by: RobbRoss | last post by:
I have a C# Web project that I migrated from VS2003 to VS 2005. I have some session variables in the global.asax file's Session_Start event. I want to set default values here for these variables....
6
by: Joe Befumo | last post by:
I just created the default personal site project in Visual Studio 2005, and it worked perfectly -- very nice. Next, I'd like to import some stat-capture code that I have working in a Visual Studio...
7
by: Bruno | last post by:
We are attempting to automatically log users off from the Session_End event in global.asax and set some values on session_start. It is not a critical task, more of a housekeeping task so that we...
6
by: Alex | last post by:
Hello All, I'm having a problem with global.asax file. The session_start method of globals.asax.vb is not firing in my project when I copy the files to a production server. It works OK in my...
5
by: greg | last post by:
Written in Asp.Net 2.0 The session_start fires on Development server running withing Visual Studio 2005 and also if access web site via localhost on development machine. But if copy to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.