Ask a Question related to ASP.NET General, Design and Development.
-
Rob #1
Problems with session variables
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
Rob Guest
-
#39833 [NEW]: Session variables overwritten by local variables (register_globals=off)
From: sup1382 at accedo dot es Operating system: OpenBSD 3.9 PHP version: 5.2.0 PHP Bug Type: Session related Bug... -
#39447 [NEW]: Want to optionally handle apc_upload_progress variables using session variables
From: krudtaa at yahoo dot com Operating system: All PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug... -
[PHP] session variables
Check out session.cookie_lifetime .. if lifetime =0 then session should disappear once you close the browser else it will stay the time specified... -
Session problem when setting session variables in files that are in different directories
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with sessions. What I am building is a loginsystem and I need to save... -
variables that change session variables
Hi, I'm currently writing a mulit-page form app that uses a session to retain data from each form element in order for the user to jump between... -
Rob #2
Re: Problems with session variables
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(session("dsname"), dataset) and
varname=session("dsname") with the same results.
Any suggestions or links to references would be appreciated
"Rob" <robreab@tntech.edu> wrote in message
news:OhMfJJyODHA.2768@tk2msftngp13.phx.gbl...page> I'm trying to use session variables to store datasets when moving fromon> to page (and returning). The datasets are small (I know some may commentintact?> 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 isfine)> Frankly, it appears a little finicky.
>
> What I have is a default page with a couple of datagrids (it's working> 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
>
>
Rob Guest
-
Rob #3
Re: Problems with session variables
No on the username underscore reply.
"Tobe" <tobe@vantagecontrols.com> wrote in message
news:0b2101c33b23$e60ece50$a601280a@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.
>
>> when moving from page> >-----Original Message-----
> >I'm trying to use session variables to store datasets> some may comment on> >to page (and returning). The datasets are small (I know> a dataset to the> >performance issues). It seems simple to use. I can pass> rest will be> >second page (once I get one additional page working, the> default page and> >simple) successfully but am not able to return to the> I store it as a> >retrieve the dataset and rebind it to my datagrid. Once> session is intact?> >session variable shouldn't it be available as long as my> (it's working fine)> >Frankly, it appears a little finicky.
> >
> >What I have is a default page with a couple of datagrids> the number of years> >that represents year1 of a proposal. The user defines> will be called as> >for the project and a slightly modified version of year1> >year 2, 3 etc. I'm using VS and VB Framework 1.0 - Rob
> >
> >
> >.
> >
Rob Guest
-
Tobe #4
Re: Problems with session variables
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.
variables back to the first>-----Original Message-----
>As a followup, I'm able to pass individual textdataset is the>page. They are working as expected. It seems that the("dsname"), dataset) and>problem. I've tried both varname=ctype(sessionappreciated>varname=session("dsname") with the same results.
>
>Any suggestions or links to references would bewhen moving from>
>"Rob" <robreab@tntech.edu> wrote in message
>news:OhMfJJyODHA.2768@tk2msftngp13.phx.gbl...>> I'm trying to use session variables to store datasetsknow some may comment>page>> to page (and returning). The datasets are small (Ipass a dataset to the>on>> performance issues). It seems simple to use. I canthe rest will be>> second page (once I get one additional page working,default page and>> simple) successfully but am not able to return to theOnce I store it as a>> retrieve the dataset and rebind it to my datagrid.my session is>> session variable shouldn't it be available as long asdatagrids (it's working>intact?>> Frankly, it appears a little finicky.
>>
>> What I have is a default page with a couple ofthe number of years>fine)>> that represents year1 of a proposal. The user definesyear1 will be called as>> for the project and a slightly modified version of>>> year 2, 3 etc. I'm using VS and VB Framework 1.0 - Rob
>>
>>
>
>.
>Tobe Guest



Reply With Quote

