Sep 20, 2011 06:59 AM|koulsumit|LINK
I have an aspx page with an applet inside it . Inside the java applet applet is sending the request to another aspx page using following java code
URLConnection c = new URL(getCodeBase() + "cerrdata.aspx?First=1&Second=2").openConnection();
How ever after first request from java applet all session variables gets lost .
We tried to find session Id on each request and found that every request generates a new session id
Can any one help me to mantain session between java applet Request and asp.net
Source Code :http://asdfshare.com/s984vs59e195/ROCKSPOC.zip.html
1) Set Default.aspx as start page
2) Click onLinkForAPPletPage hyperlink this will load the /appletWebForm.aspx
3)This web page contains the applet which is requesting cerrdata.aspx
4) you will observer that cerrdata.aspx looses all the session variables .
The same thing is working fine in asp pages .So Microsoft had supported this in asp . But i guess they don't support applet in asp.net .
Please let me know the solution.