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

Session not carrying over

I have a web app that uses StateServer to track session. It is
cookieless (e.g. session ID in the URL.) We have run into a problem
that is like such: we have a page that has multiple frames on it. All
the frames point to relative pages except one which points to a
specific IP, but it is an IP that runs the same web application. The
frame src looks something like this:
src="http://{theip}/(sessionid)/Page.aspx". In essence, this should be
the same as this: src="http://{thedomainname}/(sessionid)/Page.aspx".
But, for some reason, this page cannot read the session variables this
way. If we switch to SQLServer to manage state then this becomes a
non-issue. Does anyone know why doing something like this with
StateServer is not possible? Does StateServer do some kind of domain
name check? Can this be turned off?

Nov 19 '05 #1
1 1270
to keep session data seperate by application, a key is added to the session
id.

- the sqlserver state manager uses the iis vdir root path as the key
- the outof proc stateserver uses the url path as the key.

to fix the outof proc state manger, you could use url rewriting, though i'd
use the sqlsever manager, as it supports failover, and doesn't have memory
limits.

-- bruce (sqlwork.com)
"jamezw" <ja****@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
I have a web app that uses StateServer to track session. It is
cookieless (e.g. session ID in the URL.) We have run into a problem
that is like such: we have a page that has multiple frames on it. All
the frames point to relative pages except one which points to a
specific IP, but it is an IP that runs the same web application. The
frame src looks something like this:
src="http://{theip}/(sessionid)/Page.aspx". In essence, this should be
the same as this: src="http://{thedomainname}/(sessionid)/Page.aspx".
But, for some reason, this page cannot read the session variables this
way. If we switch to SQLServer to manage state then this becomes a
non-issue. Does anyone know why doing something like this with
StateServer is not possible? Does StateServer do some kind of domain
name check? Can this be turned off?

Nov 19 '05 #2

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

Similar topics

0
by: James Butler | last post by:
Sorry if I missed the answer in this NG. Searching hasn't turned up anything other than permissions issues, which this isn't. OS: Red Hat 8 PHP: 4.3.3 HTTPD: Apache 2.0.47 In PHP.INI: ...
7
by: deko | last post by:
I have a login page that is supposed to redirect the user to his private page after login. But header("Location: $url") does not work after I set the $_SESSION variable - I get "Warning: Cannot...
4
by: Ivan Shevanski | last post by:
Alright heres my problem. . .Say I want to carry over a variable from one function to another or even another run of the same function. Is that possible? Heres a quick example of what I'm talking...
1
by: bajopalabra | last post by:
hi if i disable session state... how can i identify the user session ??? and, assuming that i generate my own "session id" for each login carrying it along the requests... how can i, latter,...
3
by: NETUser2004 | last post by:
Hello, I am carrying some values into a page using Session object. I would like to remove the session values that I used on this page when the user leaves to another page. But I need these...
5
by: JezB | last post by:
I have various web pages in two different "web application" project assemblies (WebClient1 and WebClient2), and another "class library" assembly WebLib. I have methods in the library which set and...
7
by: tshad | last post by:
Can I directly access an object member from an object I have saved as a session variable? I am carrying a session variable for my user information as separate session vaiables for each...
8
by: Eddie | last post by:
I am having difficulty in setting variables in a session, and then accessing those variables throughout the web pages that they click on. After having them set a user name and password,...
4
cassbiz
by: cassbiz | last post by:
Could use some help here. This script is carrying over an image just fine but the text isn't coming over. can you see why it is not working???? from the form I want to carry over two lines of...
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: 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
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:
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...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.