Author |
Topic |
|
teebee
Starting Member
USA
3 Posts |
Posted - August 20 2005 : 15:10:33
|
I am new to this software 5.5. Is there a way once you log in to stay logged in longer than it is letting me. Once i log in if I walk away for a minute or two I have to relog in. I would like to stay logged on longer without logging in so often.
Also is there a site with several web sites and sample sites you can view that was built with VP.ASP software.
|
|
dcwebman
VP-CART New User
USA
127 Posts |
Posted - August 22 2005 : 11:58:43
|
If you're talking about staying in the admin longer, what I did was modify my renamed shopadmin.asp file. Add to the top of the GetAdminData subroutine:
if session("Shopadmin") <> "" then session.timeout = 120 end if
This is for 2 hours.
Some VP-ASP sites are at http://www.vpasp.com/demos/vpaspsites/sitedisplay.asp Jeff
|
|
|
teebee
Starting Member
USA
3 Posts |
Posted - August 22 2005 : 17:07:41
|
I can't seem to find this shopadmin.asp file or GetAdminData subroutine file. I am lost in this software adminatration.
|
|
|
Sharon
VP-CART Super User
357 Posts |
|
dcwebman
VP-CART New User
USA
127 Posts |
Posted - August 23 2005 : 07:30:57
|
quote:
I can't seem to find this shopadmin.asp file or GetAdminData subroutine file. I am lost in this software adminatration.
VP-ASP comes with a file called shopadmin.asp. One of the security measures is you're supposed to rename it to something only you know. If you can't find it, then you or somebody must have renamed it. This is the page that is called when you first go into the Admin.
Once you find this file, look inside it at the top for the lnie that starts: sub GetAdminData
|
|
|
greatphoto
VP-CART Super User
USA
304 Posts |
Posted - October 30 2005 : 16:22:48
|
I appreciate this post. I implemented the changes suggested by dcwebman. This is useful since it allows admin to stay logged in longer without having to change the default session timeout for all visitors to the site. Presumably, this solution has less impact on server performance.
This works great for me most of the time. However, I still get booted out of my admin login periodically, even while I'm actively working! This occurs while I'm busy making changes to products, etc in the account. The session shouldn't be timing out at this point, even if it were still set for 20 minutes timeout or even lower.
My main concern here is that this random clearing of session variables could be happening to my customers as well, causing them to lose their carts.
Have you experienced the same? Do you have any suggestions?
|
|
|
apswater
VP-CART Super User
444 Posts |
Posted - October 31 2005 : 08:51:31
|
You guys might want to talk to support. They helped me change my login so it logs in by IP#. Now I never have to log in! It is great!
|
|
|
sek
Starting Member
24 Posts |
Posted - October 31 2005 : 11:34:10
|
quote:
My main concern here is that this random clearing of session variables could be happening to my customers as well, causing them to lose their carts.
Have you experienced the same? Do you have any suggestions?
i do experience the same. It seems worst to me. I just logged in less than a minute and got kicked out quite often.
and i have seen orders without payment information, i contacted customers and they did not know the order did not go through resulting losing many orders.
i'm positive that there are some issues with "random clearing of session variables" since it occurs to me at backend logging in and also losing orders at front end.
before further conclude this, can any other people confirm this?
sek
|
|
|
dcwebman
VP-CART New User
USA
127 Posts |
Posted - November 01 2005 : 08:32:34
|
quote:
This works great for me most of the time. However, I still get booted out of my admin login periodically, even while I'm actively working! This occurs while I'm busy making changes to products, etc in the account. The session shouldn't be timing out at this point, even if it were still set for 20 minutes timeout or even lower.
I see this sometimes too. I "think" it is because I always have 2 browser windows open, one with admin and one with the store. If I start with only one window which is the admin one and then say right-click on Home and open in new window, it will open the 2nd browser window. That one however will be at the 20 minutes or so. Since both browser windows are now using the same session since it was opened that way, the admin will also be reduced.
That's why now I make sure I open 2 browser sessions independently of each other. I think this should solve most of that issue at least. Jeff
|
|
|
greatphoto
VP-CART Super User
USA
304 Posts |
Posted - November 01 2005 : 21:20:23
|
Thanks for the posts.
I now know at least one reason this can occur. After discussions with my web hosting provider, I learned that the server "application pool recycles itself" on a regular basis. For my account, this was set to 4 hours. I understand that the positive side of this is that it clears out left over session junk, freeing server resources and keeping the system healthy. On the downside, it interrupts any active session by clearing all the variables. This means that admin logins will be booted out and, more importantly, customer's carts will be cleared.
My hosting provider has set my timeout to 29 hours to make the interrupt less frequent. I'm asking them if they can set it to 24 hours and adjust it to occur around 4 am which is when my site receives the least traffic.
|
|
|
|
Topic |
|