Re: simple Session question
I guess it is because the ASPX pages belong to two different applications. Session objects are valid within the current AppDomain for that particular AppDomain.
Cann't you pass the Session variables using a query string to the second ASPX page and save them there?
Re: simple Session question
I tried QueryString, and it worked.
The thing is, that I want to pass lots of parameters, some of them I wish to be hidden from users. QueryString is not so suitable for this. I would prefer to use Session. There is no possible way to do it?
Re: simple Session question
As I said Session Variables belong to one particular application and as your second ASPX page belongs to a totally different application, it might be little bit difficult to achieve that.
Re: simple Session question
The way easiest method of doing is this as already suggested by the previous poster - querystrings.
Other alternatives exists (such as for example using HttpWebRequest to send forms from one application to the other containing the data etc) however they'll all take some development to implement.
Re: simple Session question
Ok, thank you both for your input.
I will stick to querystrings at the moment.
Re: simple Session question
Maybe you could try another way using database.