Hi and thank you for reading this thread. I have an application im working on that takes credit card information but if the user does not close the browser window you can press the back key and get his creditcard information. Is there anyway to stop that from happening. Thank you!!
I tried using most of your code. I can't use the encrypt part though thats it because in my company i'm working for there is about 20 apps that use 3des ECB but the java one wouldnt work so. I'm using an encrypt class written by someone here. I'm writing a authorization/authentication program...
See the ByteArrayOutputStream out... Can I say out.toString(). Because with my encryption i need to pass a string and a key. eg. String encryptedData = tDES(out.toString(), KEY); then can I go encryptedData.getBytes(); Because im still having problems after its been zipped. Getting...
Hello, I would first like to say Thanks in advance for reading this and trying to help me. Ive been stuck for a good 4 hours. I have an app that has to GZIP a token then encrypt it and then Base 64 it and another app to do the opposite.
here is the code that GZIP's it then encrypts it and...
Is there a way maybe when you log into the app to set a session ID as the loggin name. Then you can get that session from a different browser window and check if your attributes are null or not.
What im trying to do is in a previous app an email request is sent which is a link in an email when you click on it if you are logged into the app that handles that request go right into the app else you are redirected to the loggin page to loggin the program.
String Id = (String)request.getSession().getAttribute("Id");
if(Id == null){
response.sendRedirect(response.encodeRedirectURL("a.jsp"));
}else{
response.sendRedirect(response.encodeRedirectURL("a.jsp"));
}
the code will be something like this in the email controller
Thanks in advance for helping me with my question. I just have a question about sessions. I log in my app login page then I set an id in the session eg.
request.getSession().setAttribute("Id", Id);
So it's set in the session (i comfirmed this by pulling it out of the session in the same...
First I would like to say thanks in advance for whoever is helping. I really appreciate it.
I'm just wondering if you can compare the dept with a session scope bean variable. I know you can campare eg.${dept == 'accounting'} but I was wondering if you can campare the dept in the forEach...
Dave,
Sorry man I gave you a star now. I just forgot about it. Sorry about that. Thanks alot everyone for the help though. I really appreciate it. I'm knew to web programming soon I hope to help ppl myself. Thanks all.
S.
Thank you for responding. I need to take all the toolbar and everything off the top of the window I know when you put resizable=off it will take it off. Is there a way to get rid of all the toolbars on the onLoad.
Thank you for helping out! I am having troubles with removing all my toolbars onLoad using a resizable=off. Is it possible to do that if you open the window with href without using javascript to open the window. This is how I am opening the window and thats my javascript in the page it's...
Got it. Thank you so much Venu!! I just didn't use the javascript like you said just have to figure out how to resize the window without java script now. Thanks
...&app_name=whatever','Login','height=170,width=310,left='+(screen.width-310)/2+',
top='+(screen.height-170)/2+',resizable=off');">Login</a>
(**These are just made up URL's not the real ones**)
I need app_id =99 in this case and the url www.abcd.com to get saved in the session right away so...
...I get the referer URL.
For example if you write this code:
<%
String callingURL = (String)request.getHeader("referer");
System.out.println("*** from the JSP page: "+callingURL);
%>
From mozilla the you will get the referer value to print out but in IE I get null. Is there anyway to get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.