i think you are right...that will also be a good way of doing this....
Thanks for you suggestions......
User Profile
Collapse
-
my current approach is...i'm using a veriable with value 1800...i'm reducing it every second....if it reaches 0 i send a warning message to user for automatic logoff...if he says yes i redirect the page to login page again otherwise i reset the var to 1800....also if any activity happens i reset that variable to 1800..
is it what you are saying or its different...is it right in this way???
Regards...Leave a comment:
-
i'm also storing a timestamp and comparing it but this timestamp has to be reduced every second and if some activity is happening i have to reset that timestamp to original value..is this the right approach to work...i'm using c#.net and asp.net...Leave a comment:
-
using server side validation is good but in my case lot of client side activities are there that user can work with without going to server...that's why i opted for javascript....
can you provide me some code snippet for this problem using server side session for validation...if javascript validation doesn't seems to be good then i'll use server side validation...
Thanks for the reply.....Leave a comment:
-
how to check if user is inactive for some time
hi friends,
I'm developing an application in which it is required that if user is inactive for 30 mins s/he should be logged out automatically.. .
i'm able to do it throught javascript by setting a timer and reducing the time
every second...but the problem here is i have to set the timer to max value every time an event is happening on any page...which i don't want...is there any solution for this problem??... -
How to execute perl script from C#.net code
Hey friends
It will be a great help for me if any one could help me.I have one perl script file..and i want to execute the code in that file through my c#.net code in a web application...b ut i don't know how to do that.
I tried it with System.Diagnost ics.Process but i'm not able to run the script.I'm using the VS2005 and ASP.NET inbuilt server.
if possible pls provide me a small code also... -
how to execute perl script from c#.net code
Hey friends
It will be a great help for me if any one could help me.I have one perl script file..and i want to execute the code in that file through my c#.net code in a web application...b ut i don't know how to do that.
I tried it with System.Diagnost ics.Process but i'm not able to run the script.I'm using the VS2005 and ASP.NET inbuilt server.
if possible pls provide me a small code also... -
How to run a perl script using c#.net
Hi friends,
I have a perl script file in .BAT format....i want to execute this script on the command prompt of clearquest server using C#.net and asp.net....can someone tell me how can i do this...
any suggestion will be helpful for me...
Thanks -
How to check whether session is existing or not
Hi friends,
My problem is...i want to open an application on click of some link...but before opening that application i want to check if that application is already opened with some other login id or not....if it is already opened with some other id i want to show a warning message...
for example...suppo se i want to open yahoo on click of some link...and suppose yahoo is having the restriction that at a time only one... -
/////////////////////////////////////////////////////////
thanks a lot...this artical was very useful for me...
now i want to copy the entire directory of images from the server and paste them in some directory on my local machine....is it possible???...Leave a comment:
-
///////////////////////////////////////////////////////////////////////////////////////////////
i tried copy() function but it is not working for images......Leave a comment:
-
//////////////////////////////////////////////////////////////////////////////////////////////////////
i have one directory on my server which is having few images...i want to copy those image and store them on my local computer...i was coping them one by one using copy() function but i think copy() function doesn't work for images....my requirement is to download images from server to local machine...pls suggest me some way of doing...Leave a comment:
-
how to copy images from one directory and paste into another directory
Dear friends i want to copy the images from one directory on server and paste them into another directory on my local computer....can someone tell me how can do that..it'll be a great help for me...thanks in advance -
Unable to load OCI8.dll
Hello friends,
I'm using PHP with apache...my problem is i'm not able to load OCI8.dll....whe n i'm trying to make connection to database i'm not able to connect and it's not showing any error...my oci8.dll is present in my extensions directory and i have uncommented that... -
yes,my path of extension_dir is correct..i'm able to load other extensions.
OCI8.dll is also present in my extension directory....Leave a comment:
-
Not able to load oci8.dll extension
Can some one tell me how can i load OCI8.dll.
in my php.ini i have uncommented the line for oci8 dll,still i'm not able to load the dll. -
I tried to understand how i can use 301 redirect in my case but i could not...if possible pls tell me how can i use it for my website....in my website i'm facing problem while clicking a link and loading another page....Leave a comment:
-
You are right...i have few rewrite rule set up.
can you provide me some example of the way you were telling i.e. creating an include php file that handles all redirect....Leave a comment:
-
What is the meaning of @ in @file
can someone tell me what is the meaning of @ if i say @file or @ora_parse etc. -
I mean to say i want the URL to be visible as http://servername/mysitename/au/users instead of http://servername/mysitename/activeusers/usersloggedin.p hp
how can achieve this...b'coz when i tried to pass the full URL it was displaying the actual directory path not the canonical URL....Leave a comment:
No activity results to display
Show More
Leave a comment: