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
Sonali GonnadeSonali Gonnade 

How to maintain User login session throughout the application.

Hi,

 

We have created one sample application using  force.com which having user login page with user authentication. The user should not access any other pages without authentication and after successful login user session should be maintain throughout the application.

 

Is there any method or parameter which will help to maintain user session.

Is there something about the automatic page redirection to the login page if users are not authenticated? 

Also user should not access any VF page without authentication.

If anybody knows the solution of these issues.  Please help.

 

 

Thanks in advance.

_Prasu__Prasu_

Thats depends on the platform application is written.

hitzhitz

HI, Sonali

 

I think you need to go through below link document of cookie. i think cookie will solved your problem...

 

http://blog.sforce.com/sforce/2010/05/working-with-cookies-in-summer-10.html