This project is read-only.

Problem with session in aspx pages

Dec 16, 2008 at 10:58 PM
Edited Dec 16, 2008 at 11:00 PM
Hi everyone,
I've this problem with my .aspx pages: in the Default.aspx I put the same code that I found at this page (http://www.microsoft.com/express/samples/facebook/quickstarts/default.aspx, VB.NET code) and it works greatly. Infact I see "Welcome Name Surname" (I used the FB API to get the information about the user). So I suppose that  Session("Facebook_session_key"), Session("Facebook_session_expires")Session("Facebook_userId")  are not empty and are not null.
So when I make a redirect to another Page2.aspx (for example) of the same project, the sessions are empty!! (I used a "normal"  <a href="Page2.aspx"/>)
If I execute my application via Facebook (http://apps.facebook.com/someapps) I have the problem but , if I execute the same application via internet (http://www.mywebsite.com/someapps/Default.aspx), I make the Facebook login and I have no problem...I think it's very strange!!

Any idea about this problem??

Thank you in advance.
Best regards!

 

Dec 16, 2008 at 11:13 PM
Sorry...I searched the whole afternoon and the whole night on the Internet for the solution and then the solution of my problem is here : http://forums.asp.net/p/1138601/1897030.aspx#1897030