function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
onlinenandaonlinenanda 

how to set apex controller variable value when visual force page loads

I need to set server url and sesssion id on apx controlle when page loads, Any thoughts!!!!!!!!!!!!!
onlinenandaonlinenanda
it requires a mouse click to load session id and server url. But I need on page load..
Eric_SantiagoEric_Santiago
If you want to get these variables without user interaction check out the following post on the forums; http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=10618&jump=true#M10618