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

New SessionIds between PostBacks

Hi

I have a page. When it loads up first time (!Page.IsPostBack) I get a
different SessionId and when I post back the information the sessionid is
different.

Why is that so? How can I keep same sessionId? before and after postback.

any help?

Thnx
Mar 20 '06 #1
3 961

"mavrick_101" <ma********@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com...
Hi

I have a page. When it loads up first time (!Page.IsPostBack) I get a
different SessionId and when I post back the information the sessionid is
different.

Why is that so? How can I keep same sessionId? before and after postback.

any help?

Thnx


The application should keep the session id's the same. Are you using
Frames on your page? This can cause Session ID problems.
Mar 20 '06 #2
No, I'm not using any frames.

"James Jardine" wrote:

"mavrick_101" <ma********@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com...
Hi

I have a page. When it loads up first time (!Page.IsPostBack) I get a
different SessionId and when I post back the information the sessionid is
different.

Why is that so? How can I keep same sessionId? before and after postback.

any help?

Thnx


The application should keep the session id's the same. Are you using
Frames on your page? This can cause Session ID problems.

Mar 20 '06 #3
If this is in a web farm and you even have session affinity
enabled, some of your users can still have problems
because their outgoing traffic is run through a proxy
server.

You don't specify your environment so I'm
just throwing this out there as a potential cause.

http://www.eggheadcafe.com/articles/scaleout_server.asp

--
Robbe Morris - 2004-2006 Microsoft MVP C#
Earn money answering .NET questions
http://www.eggheadcafe.com/forums/merit.asp

"mavrick_101" <ma********@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com...
Hi

I have a page. When it loads up first time (!Page.IsPostBack) I get a
different SessionId and when I post back the information the sessionid is
different.

Why is that so? How can I keep same sessionId? before and after postback.

any help?

Thnx

Mar 21 '06 #4

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

Similar topics

0
by: Dan Popa | last post by:
Check out the following 2 links: http://www.batisdev.com/admin/test_1images.asp http://www.batisdev.com/admin/test_2images.asp First page contain 4 IFRAMES and 1 IMG tags. Second page contain 4...
1
by: Jim Mitchell | last post by:
OK, have I come full circle.... ? 1) .NET with VS Studio seemed to be the answer to all my prayers. A) No more worries about coding for Netscape vs. IE. B) Quick Deployment C) All code in...
6
by: Jon Maz | last post by:
Hi All, I am experimenting with URL Rewriting using the techniques outlined by Scott Mitchell in his article "URL Rewriting in ASP.NET"...
3
by: Nelson | last post by:
My development environment is ASP.Net with VB.Net and .Net Framework 1.1. For a web control text box through client code(java script) I am changing the font color. After post the color is...
5
by: Dave | last post by:
(Second Try) Greetings, I have an asp.net web application that utilizes a User Control at the top of the page. My User Control contains a Server Control menu which will require postbacks. ...
3
by: John | last post by:
I have an asp.net control which on the first Load of the page has a unique ID something like: _ctl0__ctl1_GroupName__ctl1_ControlName and after the first postback it changes to: ...
1
by: Frankie | last post by:
Just doing some testing here to see what happens when JavaScript is disabled. I was told somewhere along the line that PostBacks would fail because they rely on JavaScript: function...
0
by: gregfocker | last post by:
I installed the new RTM version of ASP.NET 2.0 AJAX Extensions 1.0 released on Tuesday (1/23). I made the required changes to the web.config file to go from the RC version to the RTM version. ...
1
by: Kursat | last post by:
Hi, I have a question about Ajax postbacks : - Does ASP.NET process multiple UpdatePanel postbacks in single thread when two or more different update panel postbacks occur at the same time for...
4
by: Nathan Sokalski | last post by:
I have 2 private variables in my class that I need to remember the values of between postbacks (or actually callbacks, since I am using AJAX). I want to avoid using session variables, if possible....
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.