DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   JSP session (http://www.daniweb.com/forums/thread201414.html)

taresh1 Jul 3rd, 2009 4:35 am
JSP session
 
I developed a jsp page..
and i dont want any one to access the page just by copying he URL what to do.???

Thirusha Jul 3rd, 2009 8:48 am
Re: JSP session
 
what about putting your page behind a log on screen?

taresh1 Jul 3rd, 2009 8:57 am
Re: JSP session
 
Quote:

Originally Posted by Thirusha (Post 907395)
what about putting your page behind a log on screen?


Thanks ! Thirusha i solved the prob myself... was so simple

peter_budo Jul 3rd, 2009 9:01 am
Re: JSP session
 
Quote:

Originally Posted by taresh1 (Post 907413)
Thanks ! Thirusha i solved the prob myself... was so simple

Would you care to share your solution for benefit of others?

taresh1 Jul 3rd, 2009 9:07 am
Re: JSP session
 
Ohhh i just took one parameter in session.and nullcheck on the same page if sessionn is null then redirect to one another page contains the "Expired session" information.

if u will copy the url and hit it will redirect u to the expired session page.thats it

Thirusha Jul 6th, 2009 6:41 am
Re: JSP session
 
Congrats.


All times are GMT -4. The time now is 12:13 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC