I'm trying to use session variables to store datasets when moving from page
to page (and returning). The datasets are small (I know some may comment on
performance issues). It seems simple to use. I can pass a dataset to the
second page (once I get one additional page working, the rest will be
simple) successfully but am not able to return to the default page and
retrieve the dataset and rebind it to my datagrid. Once I store it as a
session variable shouldn't it be available as long as my session is intact?
Frankly, it appears a little finicky.
What I have is a default page with a couple of datagrids (it's working fine)
that represents year1 of a proposal. The user defines the number of years
for the project and a slightly modified version of year1 will be called as
year 2, 3 etc. I'm using VS and VB Framework 1.0 - Rob 3 2635
As a followup, I'm able to pass individual text variables back to the first
page. They are working as expected. It seems that the dataset is the
problem. I've tried both varname=ctype(s ession("dsname" ), dataset) and
varname=session ("dsname") with the same results.
Any suggestions or links to references would be appreciated
"Rob" <ro*****@tntech .edu> wrote in message
news:Oh******** ******@tk2msftn gp13.phx.gbl... I'm trying to use session variables to store datasets when moving from
page to page (and returning). The datasets are small (I know some may comment
on performance issues). It seems simple to use. I can pass a dataset to the second page (once I get one additional page working, the rest will be simple) successfully but am not able to return to the default page and retrieve the dataset and rebind it to my datagrid. Once I store it as a session variable shouldn't it be available as long as my session is
intact? Frankly, it appears a little finicky.
What I have is a default page with a couple of datagrids (it's working
fine) that represents year1 of a proposal. The user defines the number of years for the project and a slightly modified version of year1 will be called as year 2, 3 etc. I'm using VS and VB Framework 1.0 - Rob
No on the username underscore reply.
"Tobe" <to**@vantageco ntrols.com> wrote in message
news:0b******** *************** *****@phx.gbl.. . Does your username have an underscore. I had a problem with this before, changing the username fixed the problem. This apparently a bug in the framework.
-----Original Message----- I'm trying to use session variables to store datasets when moving from pageto page (and returning). The datasets are small (I know some may comment onperformance issues). It seems simple to use. I can pass a dataset to thesecond page (once I get one additional page working, the rest will besimple) successfully but am not able to return to the default page andretrieve the dataset and rebind it to my datagrid. Once I store it as asession variable shouldn't it be available as long as my session is intact?Frankly, it appears a little finicky.
What I have is a default page with a couple of datagrids (it's working fine)that represents year1 of a proposal. The user defines the number of yearsfor the project and a slightly modified version of year1 will be called asyear 2, 3 etc. I'm using VS and VB Framework 1.0 - Rob
.
This problem has nothing to do with your DNS, it is your
_Computer's_ name that is the problem. Does your
computer's name have an underscore in it. For example,
ROBS_COMP, would confuse the framework and the session
variables would not be passed from page to page. -----Original Message----- As a followup, I'm able to pass individual text
variables back to the firstpage. They are working as expected. It seems that the
dataset is theproblem. I've tried both varname=ctype(s ession
("dsname"), dataset) andvarname=sessio n("dsname") with the same results.
Any suggestions or links to references would be
appreciated "Rob" <ro*****@tntech .edu> wrote in message news:Oh******* *******@tk2msft ngp13.phx.gbl.. . I'm trying to use session variables to store datasets
when moving frompage to page (and returning). The datasets are small (I
know some may commenton performance issues). It seems simple to use. I can
pass a dataset to the second page (once I get one additional page working,
the rest will be simple) successfully but am not able to return to the
default page and retrieve the dataset and rebind it to my datagrid.
Once I store it as a session variable shouldn't it be available as long as
my session isintact? Frankly, it appears a little finicky.
What I have is a default page with a couple of
datagrids (it's workingfine) that represents year1 of a proposal. The user defines
the number of years for the project and a slightly modified version of
year1 will be called as year 2, 3 etc. I'm using VS and VB Framework 1.0 - Rob
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marc Hoeve |
last post by:
Hi everybody
I'm setting up 2 websites for a friend of mine, en I'm have problems with
one of the sites.
The situation: I have 2 different domains (both in the .NL domain). Both
domains provides the possibility for users to log in. The loginscript and
the databases are hosted at server 1. The site at server 2 contains a link
to the loginpage at server 1. That works well... so far.
|
by: Jose Meireles |
last post by:
Hi everyone,
I'm trying to use public variables in a web form to hld specific values.
What happens is that the public variables (declared as public x as y in the
beginning of the class), doesn't seem to hold the value from function call
to function call.
Does anyone can help me abou this?
best regards
|
by: Phil Grimpo |
last post by:
I had previously explained this problem in a different thread, but now that
I have an IISState log, I figured I'd re-start the thred. My situation and
the log are following...
I have a very odd situation here. I have an administration page, where
based on a users permissions, a recordset is called from the SQL server
which has a list of paths to "Module Menus". Each of these menus are then
placed into the page by calling...
|
by: Jack |
last post by:
Hi, I have a checkbox the value which goes to a database via a asp page that
builds the sql string.
In the front end asp page, the checkbox code is written as follows:
<i><input type="checkbox" name="chk_Complete" value="<%Response.Write
l_IsChecked%>"<%if cbool(l_IsChecked) then Response.Write " checked"%>>
The code to captures the checkbox value in the asp page that builds the sql
string is follows
|
by: l-touched |
last post by:
Hello,
I am using authentication type = FORMS
I need to use Session Variables for passing data between ASPX pages, but I have the following problem:
If I call some page without doing athentification before, I will be redirected to Login.aspx, there in Login.aspx I assign (in Login.aspx.VB) this: Session("VARIABLE") = "SOMESTRING", after I will pass from this page to another page named BBB.aspx.
In BBB.aspx I need to use (in...
| |
by: - Steve - |
last post by:
I have a cs file I use in an ASP.NET form. The class has several member
variables. If I assign a value to those variables in a method, when I get
to another method the variable no longer equals what it was assigned.
For example:
namespace test
{
public class testClass : Page
{
|
by: John Mullin |
last post by:
We are having a problem which appears similar to a previous posting:
http://groups.google.com/groups?hl=en&lr=&frame=right&th=d97f552e10f8c94c&seekm=OZw33z9EDHA.2312%40TK2MSFTNGP10.phx.gbl#link1
In the current release of our system, we decided to "wrap" the ASP.NET
Session and Application objects to improve code clarity and accuracy.
For example, instead of:
Session = new SomeListClass;
|
by: jsale |
last post by:
Hello,
I am having a problem with multiple users using my asp.net application -
namely that if each user clicks save at the same time, some, or all, of the
users crash out.
Do I need to do anything in particular to 'queue' their requests or should
asp.net do this?
Any help would be very useful,
jsale
|
by: Efrain Flores |
last post by:
Hi
I am experimenting session problems in ASP.NET. I am developing a data entry
system composed of 3 different aspx pages. The values entered on the form
fields are stored in sesion variables. These values are saved when the user
presses the Next page button. This applies for the 3 pages. Once they are
complete, I empty the values of the sessions into the database (Oracle). The
users are telling me that some of the data is missing in...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |