3,454 Topics
Sessions DO NOT end when a user closes their browser. There is no communication with the server when a browser is closed so there is no way the server can know to end the session. The same is true when you leave the site for another. Again no communication takes …
Hello , I read artical listed on link [url]http://www.tgreer.com/aspnet_html_04.html[/url] What I am doing is. on aspx page 1)There are two dropdown list on my .aspx page 2) One ddl ( drop down list) is populated on change of another one 3) One place holder to accomodate dynamic controls On change …
Good day to you! Is somebody could explain and give examples to me what are the functions of session in the page and what are the purpose of it? I'm waiting for your detailed help... Thank you in advance... Roland
Hi very new to this so please bear with me Im having trouble with my Internet browser at random times i cannot view certain pages and sometimes the internet will not let me view any pages and sometimes i can see the pages very strange. I have put a selective …
Am not too sure what this code does can someone help me please? I know it starts a session but what all that xtra validation? // start the session session_start(); if (!get_magic_quotes_gpc()) { if (isset($_POST)) { foreach ($_POST as $key => $value) { $_POST[$key] = trim(addslashes($value)); } }
[b]Handy Linux User Commands [/b] [b]../[/b] represents one directory higher [b]cat filename[/b] display file contents [b]cat stuff1 stuff2 > allStuff[/b] combine files [b]cat someStuff >> allStuff[/b] append to a file [b]cd dirName[/b] go into the directory dirName [b]chmod [permission mode] file[/b] change the permission of a file (4=read, 2=write, 1=execute …
Hi, I get the following error when I connect to the Sybase database from my web-app. I put Set chained off in the procedure and nothing happenend. There seems to be a probelm in the Java Side. Exception : ------------ com.sybase.jdbc2.jdbc.SybSQLException: Stored procedure 'p_inter_status_dz' may be run only in unchained …
Hi, I get the following error when I connect to the Sybase database from my web-app. I put Set chained off in the procedure and nothing happenend. There seems to be a probelm in the Java Side. Exception : ------------ com.sybase.jdbc2.jdbc.SybSQLException: Stored procedure 'p_inter_status_dz' may be run only in unchained …
I worked on this site over the summer at an office, I'm now back on christmas break, and will work again this summer. With the help of many people online I got the following code to work. But now, it doesn't work. As far as I know, the code SHOULD …
Hi, I created a page the has drop menus based on database recordsets that filter each other . The only problem i run into is keeping the only problem i'm having is holding the view state of the first dropmenu after it reloads. I've tried cookies, session states...am i doing …
so I'm looking at the [URL=http://php.he.net/manual/en/function.setcookie.php]PHP docs[/URL] for setcookie and this is what I see: [PHP]bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] )[/PHP] they say if you want to have the cookie expire when the browser closes …
Having a problem with a user logging in and getting a different users information. Only thing I can think of that changed was I replaced a few Response.redirects with server.transfers. It is happening randomly (or, if there is a pattern, I haven't figured it out yet). Ever heard of anything …
[color=navy]Sony BMG Music's controversial copy-protection scheme can be defeated with a small piece of tape, ...Sony's XCP technology is stymied by sticking a fingernail-size piece of opaque tape on the outer edge of the CD. That, the pair said in a brief posted online, renders "session 2 -- which contains …
Hi all, I am facing problem in session variables. We are a Call Center and we have a CRM application in ASP.Net which has two interfaces, one is for tech executive level another is for auditor. When a auditor opens both simulatanously.Sometime Session variables clashes for both interfaces and forms …
I am doing a website with asp.net. i have used session variable in my GLOBAL.ASAX file. the code is given below: Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Session.Timeout = 100 Session("Loggedin") = "No" End Sub Sub Session_End(Sender As Object, E As EventArgs) ' Code that runs when …
The output that I'm looking for is: ---Site ------Session ---------Class ........... students in class ---------Class ........... students in class ------Session ---------Class ........... students in class ---Site ect ect.... ~~~~~~~~~~~ The current outcome : ---Site ---------Class ........... students in class or sometimes ---Site ------Session ---Site... ~~~~~~~~~~~~ It's almost like it has …
I've implemented a security method where a user goes to a page, if they are are session authenticated, they redirect to a central login page, and then if they login correctly they are redirected back to the originating page with the session variable true. I'm basically using javascipt to accomplish …
First of all i am new to PHP Session. THE PROBLEM: I do session_start(); command at the begening of every page so that php uses session but what i also what it to do is that if that person closes the browser and returns back to same website it should …
i made the following jsp file <%@ page import="mybeans.NameBean" %> <jsp:useBean id="pageBean" class="mybeans.NameBean" scope="page" /> <jsp:setProperty name="pageBean" property="*" /> <jsp:useBean id="sessionBean" class="mybeans.NameBean" scope="session" /> <jsp:setProperty name="sessionBean" property="*" /> <HTML> <HEAD> <TITLE> The UseBean JSP </TITLE> </HEAD> <BODY BGCOLOR=red> <H3> Welcome to the UseBean JSP </H3> <P><B>Page bean: </B> <% if …
I have new with using sessions and i have a question to ask. I was wondering if it is to delete session if some one exit browser as i want to make my site secure so that some1 else dont sit on the comp and have all access to some1s …
my login script working fine in my localhost. but when i hosted the site my session is not working.i have written session_start(); in my script i dont undertand y? weather all the php sites supports session.
am new to this but i was wander if anyone could help ave tried alot of stuff to try to fix it but no luck. when i go to sign in on it says "we were not able to sign u in there maybe a problem with our service or …
How can I store a javascript variable in jsp session
I've got Windows Xp which i recently reinstalled. For about the first week the drives were reading now when i put in any DVD/CD i get an error saying: [U]the disk is not formatted or it is corrupted and windows cant read them.[/U] when all the disks i put in …
yeah im making this script that is basically a poll and then the administrator can add, edit, and delete questions. Right now i'm just getting the pages to work and such. Only, the session_register($logged_in_user) doesnt remember that variable when it gets to ?page=1 or any page for that matter. Code …
im fairly new to the .Net world and i'm tryin to make a simple page that dynamicly fills a table/form from a database based on user log info. i've been doin some reading and the datalist/repeater seem like more than i need...or maybe they are exactly what i need but …
Dim strMailBodyHTML As String = "" strMailBodyHTML &= "<html><body>" strMailBodyHTML &= " <p><input type=text name=T1 size=20 value=’" & Label2.Text & "’></p> " strMailBodyHTML &= "<form method=""get"" action=""http://pgssystemie02/autouph/admin.aspx""><p></p><br><input type=""submit"" value=""accept""></form>" strMailBodyHTML &= "<form method=""get1"" action=""http://pgssystemie02/autouph""><input type=""submit"" value=""cancel""></form>" strMailBodyHTML &= "<br><br><br>" strMailBodyHTML &= "</body></html>" Dim mail As New MailMessage mail.To = "aaa@aaa.com" …
I've been searching around the web since I don't have my library of books available right now -- but here's my question... can I do a purely javascript session variable without the use of PHP, ASP, or anything else? Any good resource pages on that? I just need to do …
Ran a log through [the scanner](www.hijackthis.de) and these are the results: R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Bar = http://www.flhrhdisywxtypjrrhipzzo....mBaXrZ8OdK1.php Safe. This page has been identified as safe. R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = http://www.ggqtkweturoedmnnqgrlvj.i...E96VBQZoo4.html Safe. This page has been identified as safe. Both these entries are from a LOP infection, but …
how can I store the value of a javascript variable in jsp session
I have a script that is called by a batch file. Whether or not the script completes successfully the batch file continues. I need to know the results of the script. Is there a way to open an IE session, and call a CF page that I can pass an …
for example when i now search for a specific city and none match the function will tell you but if there is a match the program just dies, also when i try the retrieve all function, the program dies by seg fault... so im thinking its in my while loop? …
I am working on filling a datagrid based on results found from a user entering criteria in text boxes and clicking a search button. I have been toying around with Session() to store variables but I dont understand it too well and its giving me trouble. After the user clicks …
Hi, I have a left frame and right frame.The left frame has lets say three buttons and when each button is selected,a different page is selected in the right frame.The pages in the right frame has its own computation,like dropdown boxes to select the query. Whats happening here is,during the …
I don't know what happened to my site, a file must have been overwritten or something. I don't know what i need to get asp.net to look into the UserData section of the authentication ticket so forms based authentication works, as far as i can tell it should work. I …
I have no ideal what happen to my databases all of a sudden they stopped working. What I can tell is the problem is in the header, actually I am not sure if it my hosting company who caused the problem because they did an upgrade to their server I …
Hi, I'm writing a client program that downloads data from an HTTP server via urllib, like so: [CODE]ufile = urllib.urlopen(urlstring) text = ufile.read() # Do stuff with text[/CODE] Nice and simple. Unfortunately, the server only accepts requests with a session ID embedded inside - and I don't know how to …
So ive got my login page almost completed, now for whatever reason i am stuck trying to get the roles for each user from my database into the authorization cookie. In regular old asp this wouldn't be a problem for me, but don't see what im doing wrong in .net …
[B]about:blank![/B] Hi there i have a really bad problem with about:blank i have tryed all kinds of programs to remove this but nithing has worked it just come straight back again? here is my log from hijackthis! Any ideas anyone? Thanks in advance for any help! Logfile of HijackThis v1.99.1 …
im confused as to how to get the pointers to save values... anyone with helpful advice??? this is where i have gone so far.... [CODE]#include <iostream> #include <cstdlib> using namespace std; int main () { typedef struct dataNode { char arriveCity[30]; char departCity[30]; int totalPassengers; int passengers; int flightNumber; struct …
I read that session variables in ASP were a security threat. Is this true for session variables in .Net? thanks, ed
I would like to rename the users file that they upload to my ftp. I want to add the CustId to the begging of the file name. For example it they select a file called test I want it to be named 223Test in my upload folder on my ftp …
[url]http://wsprod.colostate.edu/cwis116/hscouns%5Forder/?clear=yes[/url] This server has MX6.1 and session variable apppack is undefined. The same code works on CF 5 server as in [url]http://admissionsinfo.colostate.edu/hscouns_order/?clear=yes[/url] I have in the application.cfm file <cfapplication name="Highschool Counselor Order" sessionmanagement="Yes" setclientcookies="Yes" sessiontimeout=#createtimespan(0,0,20,0)#> And in contact.cfm have :- <cfif form.submit EQ "Continue"><!--- Only get form vars from last …
I need to load a value from a recently posted page... [php]for ($i=0; $i<10; $i++) { $_SESSION['someVar'][$i] = $_POST['someVar'][$i] $_SESSION['anotherVar'][$i] = $_POST['anotherVar'][$i] $_SESSION['yetAnotherVar'][$i] = $_POST['yetAnotherVar'][$i] }[/php] now the session part works just fine, but the $_POST part just blows up on me! How can I fix this? I want to …
I have the following code snippet 1) Page1.aspx.cs protected void Page_Load(Object sender, EventArgs e) { if (!Page.IsPostBack) { //other code Session["scdid"] = null; //other code } } //Submit button handler for this page protected void submit_record(object sender, EventArgs e) { //other code string sschd = (string) Session["scdid"]; if (Session["scdid"] != …
I have the following code, which tries to see if someone selected a drop down menu item that is already part of the database. If it is, then the error message should show up. [PHP]$size_of_user_array = count($user_selects); $size_of_db_array = count($already_in_db); for($y=0;$y<$size_of_user_array;$y++) { $input = $user_selects[$y]; for($r=0;$r<$size_of_db_array;$r++) { //echo "Already in …
Im getting an error with my website when i try using sessions. Im new to it so im probably doing something stupid [url]http://www.bluetipdvd.co.uk/cart.php[/url] [B]error message:[/B] Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/bluetip/public_html/cart.php:4) in /home/bluetip/public_html/cart.php on line 4 Warning: Cannot modify header information …
I have a pretty straightforward pair of aspx pages that were working just fine until last night. The first page has a form that posts to itself, updates some values in a session object, then calls Response.Redirect to the second page. The second page loads a datagrid from the session …
I intend to use session variable to capture searching keywords and catagory input by user. I created datatable dTable to store "catagory", "keyword" and "ID" and save it into session variable session("MyCat") when page is firstly loaded. If it is still within same session time frame, any new input will …
guyz.......total newbie to servlets stuff......... have got few java files and their corresponding class files.....don't know where to put those files in the tomcat directory structure............ i have put the html files in the root directory....... the html file is working but the file can't retrieve the servlet............guyz plz help …
The End.