Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

GetSerializedSession

$
0
0

We are running the following code in our .NET application to get a serialized session:

 

            SessionMgr session_mgr = new SessionMgr();

            EnterpriseSession session = session_mgr.Logon(userName, password, server, auth);

            string session_str = session.SerializedSession;

            string SessionURL = HttpUtility.UrlEncode(session_str);

 

The serialized session that comes back is 4134 characters long before URL encoding, and over 5000 characters long after URL encoding.  The plan was to use the serialized session in an OpenDoc URL like so:

 

OpenDocURL += "?serSes=" + SessionURL ;

 

Obviously, a 5000+ char encoded session is not going to work in a URL.  Suggestions anyone?


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>