Is there any way to disable session restore?

4,061 views
Skip to first unread message

OJLightfoot

unread,
Jan 27, 2010, 5:41:18 AM1/27/10
to Chromium-discuss
Hi everyone,

I was just wondering if anyone knew of a way to disable the session
restore feature? I want to run the browser in a kiosk mode where the
user shouldn't be awear of the browser just the webpage. I am using
the kiosk flag for this which is great but im having problems if the
box running chromium crashes because it then brings up the session
restore notice at the top of the screen when it reloads. I dont want
the user to be able to restore the past session or even see this
message. I have tried looking around but can't find any flag or
setting to disable this feature, am I missing anything or has this
just been overlooked?

Thanks in advance for any guidance on this matter.

zfjagann

unread,
Jan 28, 2010, 8:56:27 AM1/28/10
to Chromium-discuss
I believe there is an setting for that in the Options menu. At least
in my version there is.

OJLightfoot

unread,
Feb 3, 2010, 2:30:54 PM2/3/10
to Chromium-discuss
There is an option to restore the pages that were last open when you
closed the browser (which I have turned off) but I don't see anything
to do with disabling session restore when starting up after a crash.
My problem is only occuring on crashes, a normal shutdown does not
prompt the user to restore the last session. So is there another
option that does what I want or is it impossible to turn session
restore off fully at this time?

John McCabe-Dansted

unread,
Feb 3, 2010, 2:57:09 PM2/3/10
to ojlig...@gmail.com, Chromium-discuss
On Thu, Feb 4, 2010 at 3:30 AM, OJLightfoot <ojlig...@gmail.com> wrote:
There is an option to restore the pages that were last open when you
closed the browser (which I have turned off) but I don't see anything
to do with disabling session restore when starting up after a crash.
My problem is only occuring on crashes, a normal shutdown does not
prompt the user to restore the last session. So is there another
option that does what I want or is it impossible to turn session
restore off fully at this time?

Have you tried deleting or replacing the ~/.config/google-chrome/ [1] directory between chrome restarts? That would also hide the previous uses history, cookies etc. I imagine that would blow away the cache as well, but for a kiosk you'd probably want to have a local proxy anyway.

[1] This is the directory name onLinux, I presume chrome has a similar directory elsewhere on other OS'es.

 -- 
John C. McCabe-Dansted

OJLightfoot

unread,
Feb 4, 2010, 10:43:33 AM2/4/10
to Chromium-discuss
Hi John, thanks for the information I will give that a try, cheers

On Feb 3, 7:57 pm, John McCabe-Dansted <gma...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages