How can I perserve the session state of a SharePoint browser state using javascript?

Recommended Answers

All 2 Replies

1.- sessions are handled by a server (normally) after credential validation against a directory server (LDAP, AD, Domino, etc).

What you can do is preserve that state by invoking a valid autenticated page using a periodic polling with javascript.

Take a look at setTimeout JS funciton. You can use a library as jQuery or Prototype to perform a periodic request to that page to keep you signed in.

HTH

Thanks I will give that a try.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.