|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I have one jsp through which user logs in. After checking the authenticity of login from database, i want to put the userid in session variable in my class & should be there throughout my application. My application uses Servlet & Bean Manager & is running on Apache Server of Oracle 91 Application SErver. Now my major problem is once the session declared in JSP, when i want to get the session value in servlet, everytime it's returning me null. Is there any solution? If session variable created in Serv let, would it be retrievable throughout the application. Anshul |
|
#2
|
|||
|
|||
|
Did you ever get this?
|
|
#3
|
|||
|
|||
|
Why not you try setting your session attributes in your JSP? I tried that and it seems more stable as JSP directly interacts with the browser to create a session instance when it loads.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Session tracking in JSP & Servlet |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|