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

Can I raise a postback ? Session variable only visible after postback. Please help

gce
Hi,

My project uses some aspx that jump to eachother. Session variables are used
to exchange data.
But my session variables are not there until a postback. So when I put a
button on the second aspx and put there a show session("aaa") it works. But
not in the page_load, session("aaa") is empty. Please help.

Best regards,
Gert
Nov 19 '05 #1
2 1266
How are you navigating from one page to another ? When are you setting your
session variable ? Are you linking one page to the other using a Url or are
you doing a transfer in the server ?

Can you post a little bit of code that explains what you are doing ?

--
Francisco Padron
www.chartfx.com
"gce" <gc****@hotmail.com> wrote in message
news:d5**********@news3.zwoll1.ov.home.nl...
Hi,

My project uses some aspx that jump to eachother. Session variables are
used to exchange data.
But my session variables are not there until a postback. So when I put a
button on the second aspx and put there a show session("aaa") it works.
But not in the page_load, session("aaa") is empty. Please help.

Best regards,
Gert

Nov 19 '05 #2
gce
I use the pinTab control with tabs. So maybe the problem is there. But I
hope that I can raise a postback. Is this possible?

"Francisco Padron" <no*****@softwarefx.com> schreef in bericht
news:O3*************@TK2MSFTNGP09.phx.gbl...
How are you navigating from one page to another ? When are you setting
your session variable ? Are you linking one page to the other using a Url
or are you doing a transfer in the server ?

Can you post a little bit of code that explains what you are doing ?

--
Francisco Padron
www.chartfx.com
"gce" <gc****@hotmail.com> wrote in message
news:d5**********@news3.zwoll1.ov.home.nl...
Hi,

My project uses some aspx that jump to eachother. Session variables are
used to exchange data.
But my session variables are not there until a postback. So when I put a
button on the second aspx and put there a show session("aaa") it works.
But not in the page_load, session("aaa") is empty. Please help.

Best regards,
Gert


Nov 19 '05 #3

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

Similar topics

1
by: DC Gringo | last post by:
Using code-behind, I have a page "index.aspx" that has a user control mainHeader.ascx (with a language selection dropdownlist). Upon selecting a language from the dropdownlist, it should post...
2
by: Paul | last post by:
Hi I've almost finished the web page I'm developing (with a great deal of help from this group - thanks everyone). My page contains 3 drop down boxes, a SEARCH button, a datagrid (populated...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
1
by: Lisa | last post by:
I have a web app that gets a recordset from the database and fills a grid. You can drilldown from this table to a detail table. Because the tables sometimes get huge, and because I have to go...
4
by: needin4mation | last post by:
I am inserting a row in a database. All that works fine. What I now need is the last inserted id from the database. I can get that. Again all working. Then what I need to have is that same...
5
by: jason.neo | last post by:
Hi all experts, I am going nuts with this Invalid postback or callback argument thingy with .Net 2.0 I am building a file attachment module which relays on a Datatable stored in session (yeah...
2
by: =?Utf-8?B?SlA=?= | last post by:
Hi all. I'm having a problem with a postback issue and I think it's cache related. Here's my setup: I have a web site that has a signup section. This has simple things like name, age, birth...
8
by: Mel | last post by:
I have several text boxes and drop-down lists in an AJAX Update Panel. All user inputs have the Postback property set to True. After I type something in the first input entry and press the "Tab"...
8
by: Dan | last post by:
Hi, i experimented with postback and viewstate. With this code, there are 2 dropdownlists created, one visible and with AutoPostBack true, the other not visible and no AutoPostBack, and one...
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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?
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...

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.