i have 2 web applications 1) webgrants 2)Reports this is to view reports
We provide a link to Reports app in webgrants.Once the users logs into Webgrants and clicks on the Reports link he will be redirected to Home page in reports app.
The Reports app can be accessed directly and from webgrants app, so my question is how do we know whether the user is coming from webgrants or accessing directly.
I am thinking of using session when he comes from webgrants i wants to check if session exists if it is null redirect to login page else to home page … is this is good approach or any best way ????????
You’d be better off using forms authentication and setting it to work across apps. that way a user logged in on one app will be also logged in on the other. You can then use roles authorization to work out if they are allowed to do that.
Simon